Description Usage Arguments Value Note
Convert a data frame into a matrix suitable for barplot input
1 | dftab(x)
|
x |
a data frame with at least one numeric and one factor column and no more than three columns |
a matrix suitable for use with barplot
or nvbarplot
The data frame must contain at least one factor and one numeric variable, and a total of at most three variables. In the case of two factor variables, the first one defines the x-axis barplot groups and the 2nd one the within-bar groups.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.