isolate_typical: Isolate parameters from typical_day dataframe.

Description Usage Arguments Value Examples

Description

Theis function takes the output of typical_day and outputs a new dataframe for the specified parameter.

Usage

1
isolate_typical(data, parameter)

Arguments

data

A dataframe which is the output from typical_day.

parameter

Name of a parameter in the dataset.

Value

A dataframe with the Time columns from the input, and a column for each subject appended with the parameter (i.e. SBP).

Examples

1
2
3
typical_day_output <- typical_day(sample_BP_data, lights_on = 6)
isolate_typical(data = typical_day_output, parameter = SBP)
isolate_typical(data = typical_day_output, parameter = HR)

andrewstiegler/telemetRy documentation built on May 1, 2021, 4:56 p.m.