params_surv_list {hesim} | R Documentation |
Parameters of a list of survival models
Description
Create a list containing the parameters of multiple fitted parametric survival models.
Usage
params_surv_list(...)
Arguments
... |
Objects of class |
Value
An object of class params_surv_list
, which is a list containing params_surv
objects.
See Also
Examples
n <- 5
params <- params_surv_list(
# Model for progression free survival
pfs = params_surv(
coefs = list(
rate = data.frame(intercept = rnorm(n, log(.5), .5),
new_strategy = rnorm(n, log(.8), .1))
),
dist = "exp"
),
# Model for overall survival
os = params_surv(
coefs = list(
rate = data.frame(intercept = rnorm(n, log(.3) , .5))
),
dist = "exp"
)
)
summary(params)
params
[Package hesim version 0.5.4 Index]