dashboard_open {dashboard} | R Documentation |
dashboard_open
sets the configuration for the web page
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 |
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