simMEGH_t | R Documentation |
Function to simulate times to event from a model with MEGH structure and Student-t random effects
simMEGH_t(
seed,
des = NULL,
des_t = NULL,
ID,
alpha,
beta,
theta,
sigma,
nu,
cens,
restr,
distr
)
seed |
: seed for simulation |
des |
: Design matrix |
des_t |
: Design matrix for time-dependent effects |
ID |
: Individual identifiers |
beta |
: regression parameters multiplying the hazard |
sigma |
: Standard deviation of the random effects |
nu |
: degrees of freedom |
cens |
: Censoring times |
restr |
: random effects structure ("I", "II" or "III") |
distr |
: baseline hazard distribution ("LN", "LL", "PGW" or "gamma") |
theta: |
parameters of the baseline hazard |
n |
: sample size |
a list containing the survival times, vital status, and ID
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.