Xdata2 {CGEN} | R Documentation

## Sample covariate and outcome data

### Description

Sample covariate and outcome data

### Details

The data is taken from a lung cancer study. The file Xdata2.txt is a tab-delimited type 3 data set (see `file.type` in `pheno.list`). It contains the variables:

- `case.control` Lung cancer status (0, 1)

- `SNP` Simulated SNP data

- `smoking` Smoking status, 0: never smokers 1: ever smokers

- `study` Different studies from which subjects are taken: 1, 2, 3, 4, 5

- `cov1` A covariate taking integer values

- `cov2` A covariate taking binary values 0, 1

- `cov3` A covariate taking integer values

- `cov4` A covariate taking continuous values

### Examples

     # Load and print the first 5 rows
     data(Xdata2, package="CGEN")

     Xdata2[1:5, ]

[Package CGEN version 3.28.0 Index]