View source: R/pfDesign_simustudy.R
| pd_ss_truth | R Documentation |
Simulation Truth
pd_ss_truth(simu_setting, ntruth = 1e+06, ...)
simu_setting |
A list of simulation parameters for the following
functions |
ntruth |
number of patients to simulate for summarizing the truth |
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.