prep_daily_data: prep_daily_data

View source: R/summaries.R

prep_daily_dataR Documentation

prep_daily_data

Description

prep_daily_data

Usage

prep_daily_data(.data, nonvalid = F, sedentary_level = c(sedentary = "0"))

Arguments

.data

a fitibble.

nonvalid

determines if nonvalid wear should be cropped instead of valid wear.

sedentary_level

named vector of length one indicating the intensity value and name of the PA intensity level that represents the sedentary behavior.

Details

Prepares daily data derived from valid wear in a fitibble.

Value

a tibble containing daily statistics of valid wear for each date and subject id in .data.


audiracmichelle/fitibble documentation built on Feb. 2, 2023, 3:51 p.m.