Simulate multi-state survival data
1 2 3 4 5 6 7 8 | rsimid(dist01 = c("weibull", "exponential", "gompertz"),
dist02 = c("weibull", "exponential", "gompertz"),
dist12 = c("weibull", "exponential", "gompertz"), lambdas01, gammas01,
betas01, lambdas02, gammas02, betas02, lambdas12, gammas12, betas12, tde,
tdefunction = NULL, mixture = FALSE, pmix = 0.5, hazard, loghazard,
cumhazard, logcumhazard, x, cens, idvar = NULL, ids = NULL,
nodes = 15, interval = c(1e-08, 500),
seed = sample.int(.Machine$integer.max, 1), ...)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.