Learn R Programming

subtee (version 1.0.1)

Simulated data-sets: Simulated example data-sets

Description

Simulated test data-sets to illustrate and test methods in this package. The underlying simulation truth assumed that there is no treatment effect and no subgroup effect.

The data set was simulated using the R code in the tests/data-sets.R file. The data-sets (datnorm, datbin, datsurv, datcount) only differ in the y variable (covariates are the same).

Usage

data(datbin)

data(datnorm)

data(datcount)

data(datsurv)

Arguments

Format

Data frames with 100 observations on the following variables.

y

Response variable

treat

Categorical variable

height

Numeric variable

labvalue

Numeric variable

region

Categorical variable

smoker

Categorical variable

x1

Numeric variable

x2

Numeric variable