Skip to contents

Get an average of your data where the output is n rows (approximately).

Arguments

data

Data

n_observations

Number of observations in output data frame

group

grouping variable

Value

Smaller data frame where values are means of N observations