# Lung: VA lung cancer data set In grpreg: Regularization Paths for Regression Models with Grouped Covariates

## Description

Data from a randomised trial of two treatment regimens for lung cancer. This is a standard survival analysis data set from the classic textbook by Kalbfleisch and Prentice.

## Usage

 `1` ```data(Lung) ```

## Format

The `Lung` object is a list containing three elements:

• `y`:A two column matrix (`Surv` object) containing the follow-up time (in days) and an indicator variable for whether the patient died while on the study or not.

• `X`:Matrix of predictors

• `group`:Vector describing how the columns of X are grouped

The matrix `X` contains the following columns:

• `trt`:Treatment indicator (1=control group, 2=treatment group)

• `karno1`, `karno2`, `karno3`:Orthogonal polynomials of first, second, and third degree representing Karnofsky performance score (0=bad, 100=good)

• `diagtime1`, `diagtime2`:Orthogonal polynomials of first and second degree representing time from diagnosis to randomization (months)

• `age1`, `age2`, `age3`:Orthogonal polynomials of first, second, and third degree representing the patient's age in years

• `prior`:Prior therapy (0=no, 1=yes)

• `squamous`, `small`, `adeno`, `large`:Indicators for the lung cancer cell type. For each subject, exactly one of these columns will be 1 and the rest 0.

## Source

https://cran.r-project.org/package=survival

## References

• Kalbfleisch D and Prentice RL (1980), The Statistical Analysis of Failure Time Data. Wiley, New York.

`veteran`, `grpsurv`

## Examples

 ```1 2 3``` ```data(Lung) hist(Lung\$y[,1], xlab="Follow-up time", main="") table(Lung\$y[,2]) ```

### Example output

```Loading required package: Matrix

0   1
9 128
```

grpreg documentation built on Sept. 27, 2018, 5:03 p.m.