tgt_chol: Creates a set of logical variables which compare cholesterol...

Usage Arguments Author(s) Examples

View source: R/tgt_chol.R

Usage

1

Arguments

x

Dataframe containing a variable of total cholesterol test results. The created target variables will be appended to this dataframe.

y

Numeric vector of total cholesterol values [mmol/l].

Author(s)

Julian Collins

Examples

1
2
3
4
5
# A numeric variable of total cholesterol values, within a dataframe
data <- tibble::tibble(chol_values = rnorm(25, 5, 2.5))

# Measure the total cholesterol test results against the full set of targets, adding logical variables to the dataframe
data <- tgt_chol(data, data$chol_values)

KHP-IDEO/rIDEO documentation built on Aug. 11, 2019, 4:29 p.m.