Learn R Programming

StratifiedMedicine (version 1.0.7)

generate_subgrp_data: Generate Subgroup Data-sets

Description

Simulation/real data-sets; useful for testing new models and PRISM configurations.

Usage

generate_subgrp_data(n = 800, seed = 513413, family, null = FALSE, ...)

Value

Simulation data set (Y=outcome, A=treatment, X=covariates)

Arguments

n

sample size (default=800)

seed

seed number (default=513413)

family

Outcome type ("gaussian", "binomial", "survival")

null

Simulate null hypothesis of no treatment effect and no subgruops. Default is FALSE.

...

Any additional parameters, not currently passed through.