pd_ss_truth: Simulation Truth

View source: R/pfDesign_simustudy.R

pd_ss_truthR Documentation

Simulation Truth

Description

Simulation Truth

Usage

pd_ss_truth(simu_setting, ntruth = 1e+06, ...)

Arguments

simu_setting

A list of simulation parameters for the following functions pdSimuPts, pdGetInt

ntruth

number of patients to simulate for summarizing the truth

Examples

    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)


olssol/pfDesign documentation built on March 27, 2022, 4:30 p.m.