View source: R/pfDesign_simustudy.R
pd_ss_patients | R Documentation |
Simulate patients for conduction simulation studies
pd_ss_patients(simu_setting, h1 = FALSE)
simu_setting |
A list of simulation parameters for the following
functions |
h1 |
Simulate patients under null (h1 = FALSE) or alternative hypothesis (h1 = TRUE) |
simu_setting <- list(n_pat = 100, mu_0 = -1.5, mu_0_trt = -0.4, fmla_t = as.formula("~ -1 + time"), coeff_t = 0, muCov = rep(0, 5) sdCov = rep(0.5, 5) corCov = 0.1, coeff_x = rep(0.5, 5) t_end = 3, t_start = 0, t_hist = 2, intervals = 2, seed = 1000) simu_patients(simu_setting)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.