| propcount | R Documentation |
Grouped counts with proportions
propcount(data, by, margin = NULL)
data |
A data.frame. |
by |
Character vector of column names identifying groups or join keys. |
margin |
Column(s) defining the totals used to compute proportions. |
A basetable of counts (and proportions when margin is supplied).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.