Anonymized data from a cohort study of patients with type 2 diabetes followed for ocular and macro-vascular complications.
data(diabetes.complications)A data frame with 978 observations and 19 variables:
Follow-up time in years.
Event type indicator (0 = censored, 1 = diabetic retinopathy, 2 = macro-vascular complication).
Fruit intake (g/day).
Quartile of fruit intake.
Binary indicator for low fruit intake.
Stratum used for inverse probability of censoring weights.
Age at baseline (years).
Sex coded as 0 = woman, 1 = man.
Body mass index at baseline.
Hemoglobin A1c (%).
Duration of diabetes (years).
Indicator for oral hypoglycemic agent use.
Indicator for insulin use.
Systolic blood pressure (mmHg).
Low-density lipoprotein cholesterol (mg/dL).
High-density lipoprotein cholesterol (mg/dL).
Triglycerides (mg/dL).
Indicator for current smoking status.
Indicator for current alcohol drinking.
Leisure-time physical activity (METs).
The variables include follow-up time, cause-specific event indicators, exposure indicators for fruit intake, censoring strata, and a set of covariates used in the package vignettes.
data(diabetes.complications)
str(diabetes.complications)
Run the code above in your browser using DataLab