Description Usage Arguments Examples
View source: R/dashboard_open.R
dashboard_open
sets the configuration for the web page
1 2 | dashboard_open(data, title = "Dashbord test", filename = "dashboard",
pathoutput = tempdir(), outerwidth = 960, outerheight = 700)
|
data |
data frame used for drawing a dashboard |
title |
character for the title of the generated dashboard |
filename |
character for the name of the generated html file |
pathoutput |
character for the output path of generated files |
outerwidth |
integer for the outer width (in pixel) of the web page |
outerheight |
integer for the outer height (in pixel) of the web page |
1 2 3 4 5 6 | dashboard_open(data=iris) # other options: pathoutput=getwd() ...
dcpiechart(x=names(iris)[5])
dcbarchart(x=names(iris)[1] , gap=75)
dcpiechart(x=names(iris)[2])
dctable(index=names(iris)[5])
dashboard_launch(browse = FALSE) # Just generates files. Server is not launched
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.