Learn R Programming

CGEN (version 3.8.0)

Xdata: Sample covariate and outcome data

Description

Sample covariate and outcome data

Arguments

Details

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)

Examples

Run this code
 # Load and print the first 5 rows 
 data(Xdata, package="CGEN") 

 Xdata[1:5, ]

Run the code above in your browser using DataLab