compress_observations2: Compress observations2

View source: R/compress_observations2.R

compress_observations2R Documentation

Compress observations2

Description

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


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