R/glucose.R

#' Glucose and Triglycerides Levels in Blood
#'
#' @description Simulated data for glucose and triglycerides levels in blood in
#'  400 adults.
#'
#' @format A \code{data.frame} with 400 observations on the following 4 variables:
#' \describe{
#' \item{trigly}{triglycerides levels in blood (mg/dl).}
#' \item{gluco}{glucose levels in blood (mg/dl).}
#' \item{inv12tri}{numeric. Reciprocal of the square root of \code{trigly} (i.e., -1/2 power transformation).}
#' \item{inv2glu}{numeric. Reciprocal of the \code{gluco} square (i.e., -2 power transformation).}
#' }
#'
#' @details Data were simulated to emulate true data pattern observed in a real
#'  study (see References).
#'
#' @source See References.
#'
#' @references Rivera M \emph{et al}. Association between long-term exposure to
#'  traffic-related air pollution and subclinical atherosclerosis: the REGICOR
#'  Study. \emph{Environmental Health Perspectives}. 2013;121(2):223-230.
#'
#' @examples
#' data(glucose)
#' par(las = 1, mfrow = c(1, 2))
#' with(glucose, plot(trigly, gluco))
#' with(glucose, plot(inv12tri, inv2glu))
#' @keywords datasets
"glucose"

Try the tlm package in your browser

Any scripts or data that you put into this service are public.

tlm documentation built on April 4, 2025, 1:06 a.m.