generate_subgrp_data {StratifiedMedicine} | R Documentation |
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, ...)
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)
[Package StratifiedMedicine version 1.0.5 Index]