compress_observations: Compress observations

View source: R/compress_observations.R

compress_observationsR Documentation

Compress observations

Description

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


roaldarbol/sleepr documentation built on May 9, 2024, 11:30 p.m.