Skip to contents

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

Arguments

data

Data

vars

Variables to mean

n_observations

Number of observations in output data frame

group

grouping variable

Value

Smaller data frame where values are means of N observations