dat: Simulated example data-sets

Simulated data-setsR Documentation

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)

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


subtee documentation built on March 22, 2022, 5:07 p.m.