R/data.R

#' Vitamin D
#'
#' Simulated data set to illustrate the cosinor model. \code{Y}
#' is an outcome variable that varies of time \code{time} according
#' to a cosine curve. The binary covariate \code{X} is associated with the
#' mean and amplitude of the cosine curve.
#'
#' @format A data frame with 3 variables: \code{X}, \code{Y},
#'   \code{time}.

"vitamind"

Try the cosinor package in your browser

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

cosinor documentation built on March 31, 2023, 11:39 p.m.