crop_valid: crop_valid

View source: R/fitibble.R

crop_validR Documentation

crop_valid

Description

crop_valid

Usage

crop_valid(.data, nonvalid = F, flag_valid = T, mask = F)

Arguments

.data

a fitibble.

nonvalid

determines if nonvalid wear should be cropped instead of valid wear

flag_valid

indicates whether the is_valid flag should be added to .data.

mask

indicates whether minutes that are not valid wear should be masked with an NA instead of filtered out. Only entries in HR, steps and intensity columns are masked.

Details

Crops minutes of valid wear in a fitibble.

Value

a fitibble of valid wear entries,


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