Prints a percent table.
1 |
round |
integer. How many digits you want to round percentages to. Default no rounding. |
na.rm |
logical. Remove all the NA, "N/A", or "" values. On by default. |
var |
characer. The name of the variable you want percent breakdown for. |
data. |
The data to be displayed. This is assumed to either be a vector or a three column melted dataframe, using reshape2 <http://cran.r-project.org/web/packages/reshape2/index.html>. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.