View source: R/generate_subgrp_data.R
generate_subgrp_data | R Documentation |
Simulation/real data-sets; useful for testing new models and PRISM configurations.
generate_subgrp_data(n = 800, seed = 513413, family, null = FALSE, ...)
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. |
Simulation data set (Y=outcome, A=treatment, X=covariates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.