generate_subgrp_data: Generate Subgroup Data-sets

Description Usage Arguments Value

View source: R/generate_subgrp_data.R

Description

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

Usage

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

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.

Value

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


StratifiedMedicine documentation built on March 1, 2020, 9:07 a.m.