Learn R Programming

tlm (version 0.1.5)

glucose: Glucose and Triglycerides Levels in Blood

Description

Simulated data for glucose and triglycerides levels in blood in 400 adults.

Usage

data(glucose)

Arguments

Format

A data frame with 400 observations on the following 4 variables.
trigly
numeric triglycerides levels in blood (mg/dl).
gluco
numeric glucose levels in blood (mg/dl).
inv12tri
numeric reciprocal of the square root of trigly (i.e., -1/2 power transformation).
inv2glu
numeric reciprocal of the gluco square (i.e., -2 power transformation).

Details

Data were simulated to emulate true data pattern observed in a real study (see `References').

References

Rivera M et al. Association between long-term exposure to traffic-related air pollution and subclinical atherosclerosis: the REGICOR Study. Environmental Health Perspectives. 2013;121(2):223-230.

Examples

Run this code
data(glucose)
par(las = 1, mfrow = c(1, 2))
with(glucose, plot(trigly, gluco))
with(glucose, plot(inv12tri, inv2glu))

Run the code above in your browser using DataLab