Description Usage Arguments Value Examples
Title
1 | sumby(countvar, byvar, byvar2, byvar3)
|
countvar |
Variable to be aggregated |
byvar |
Indicator for wich sum will be calculated |
byvar2 |
Second Indicator for wich sum will be calculated |
byvar3 |
Third Indicator for wich sum will be calculated |
aggregated data
1 2 | df <- data.frame("count"=c(4,5),"year"=c(2015,2016))
sumby(count,year)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.