dashboard_open: dashboard_open innitializes a new dashboard

Description Usage Arguments Examples

View source: R/dashboard_open.R

Description

dashboard_open sets the configuration for the web page

Usage

1
2
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

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

Example output

[1] "setting ok"
row already readyFiles have been generated in this folder:  /work/tmp/tmp/RtmppqMoyW/dashboard_1510197187

dashboard documentation built on May 1, 2019, 10:52 p.m.