Learn R Programming

dashboard (version 0.1.0)

dashboard_open: dashboard_open innitializes a new dashboard

Description

dashboard_open sets the configuration for the web page

Usage

dashboard_open(data, title = "Dashbord test", filename = "dashboard", pathoutput = tempdir(), outerwidth = 960, outerheight = 700)

Arguments

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

Examples

Run this code
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

Run the code above in your browser using DataLab