Xdata {CGEN} | R Documentation |
Sample covariate and outcome data
The data is taken from an ovarian cancer study. The file Xdata.txt is a
tab-delimited type 3 data set (see file.type
in pheno.list
).
It contains the variables:
id
The subject id
case.control
Ovarian cancer status (0, 1)
BRCA.status
Simulated data for breast cancer status (0, 1)
oral.years
Years of oral contraceptive use
n.children
Number of children
age.group
Age group in 5 categories (1-5)
ethnic.group
Ethnic group in 3 categories (1-3)
BRCA.history
Personal history of breast cancer (0,1)
gynSurgery.history
History of gynechological surgery (0, 1, 2)
family.history
Family history of breast/ovarian cancer (0, 1, 2)
# Load and print the first 5 rows data(Xdata, package="CGEN") Xdata[1:5, ]