VitD {ivtools} | R Documentation |
Data from a cohort study on Vitamin D and mortality.
Description
This dataset originates from a real cohort study on Vitamin D and mortailty,
described by Martinussen et al (2017). However, to allow public availability
the data were slightly mutilated before inclusion in the
ivtools
package.
Usage
data(VitD)
Format
The dataset contains the following variables:
- age
age at baseline.
- filaggrin
binary indicator of whether the subject has mutations in the filaggrin gene.
- vitd
vitamin D level at baseline, measured as serum 25-OH-D (nmol/L).
- time
follow-up time.
- death
indicator of whether the subject died during follow-up.
References
Martinussen T., Sorensen D.D., Vansteelandt S. (2019). Instrumental variables estimation under a structural Cox model. Biostatistics 20(1), 65-79.
[Package ivtools version 2.3.0 Index]