Description Usage Arguments Examples
dcbarchart
generates a bar chart
1 2 3 |
x |
column name of data frame |
title |
character for the title of the generated bar chart |
spansize |
integer between 1 to 12 for the width of the element in the row |
width |
integer for the width (in pixel) of the element in the web page |
height |
integer for the height (in pixel) of the element in the web page |
gap |
integer for adjusting the width of each bar |
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.