I'm currently working on creating a survival model using the 'survsim' package. I would like to create a model of the log-logistic distribution with two parameters, scale and shape. However, it seems that the simple.surv.sim function in the 'survsim' package does not have a place to input the parameters of the log-logistic distribution.
My expected formula for log-logistic is X ~ LogLogistic(theta:2, k:4).
The function format is as follows:
library(survsim)
simple.surv.sim(
n, foltime,
dist.ev, anc.ev, beta0.ev,
dist.cens = "llogistic", anc.cens, beta0.cens,
z = NA, beta = NA, x = NA
)