proportions | R Documentation |
Calculate proportions for a given data.frame, this extends proportions
to work on data.frames.
proportions(x, margin = NULL)
x |
a data.frame containing only numeric entries |
margin |
a vector giving the margins to split by. E.g., for a data.frame '1' indicates rows, '2' indicates columns. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.