View source: R/compress_observations2.R
compress_observations2 | R Documentation |
Get an average of your data where the output is n rows (approximately).
data |
Data |
vars |
Variables to mean |
n_observations |
Number of observations in output data frame |
group |
grouping variable |
Smaller data frame where values are means of N observations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.