criterioENMO: Indicates which rows meets certain limits for ENMO

Description Usage Arguments Value

View source: R/criterioENMO.R

Description

Generates a vector that indicates for each row of a dataframe (usually epoch or BIN file) if that row verifies the condition limInf<=df[["ENMO"]] <=limSup

Usage

1
criterioENMO(df, limInf = 0, limSup = Inf, useNW = TRUE)

Arguments

df

data frame with columns ENMO and eventually .criterioNW (that represents NonWear time as TRUE/FALSE)

limInf

inferior limit for ENMO

limSup

superior limit for ENMO

Value

a boolean vector (TRUE/FAlSE) indicating if the condition is met.


fjbaron/rbouts documentation built on July 12, 2019, 7:51 p.m.