Runs percent_table for melted data frames.
1 |
var |
characer. The name of the variable you want percent breakdown for. |
round |
integer. How many digits you want to round percentages to. Default no rounding. |
data. |
The data to grap values from. This is assumed to be a three column melted dataframe, using reshape2 <http://cran.r-project.org/web/packages/reshape2/index.html>. The first column should contain IDs, the second column should contain variable names, and the third column should contain variable values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.