View source: R/compress_observations.R
compress_observations | R Documentation |
Get an average of your data where the output is n rows (approximately).
data |
Data |
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.