Description Usage Arguments Details Value
Method to create the AvCurvePlotData
object
1 2 3 4 5 6 | createAvCurvePlotData(object, ...)
## S4 method for signature 'SurvivalModel'
createAvCurvePlotData(object, maxTime = NULL,
Npoints = 201, Nsim = 500, models = NULL, seed = NULL, B = 1000,
conf.type = c("none", "plain", "log", "log-log")[3])
|
object |
|
... |
Additional arguments for specific instances of this generic |
maxTime |
(numeric) the time to extrapolate the curves to (default=NULL implies no extrapolation) |
Npoints |
(numeric) the number of time points for which the survival curves are to be evaluated at |
Nsim |
(numeric) the number of simulations used to generate the averaged curves |
models |
(character vector) which models from |
seed |
(numeric, default NULL) if not NULL then set random seed (although it will only be used if models include covariates) - random numbers are used when models includes covariates or when confidence intervals are required |
B |
(integer) Only used when no covariates in model. See summary.flexsurvreg Number of simulations from the normal asymptotic distribution of the estimates used to calculate confidence intervals. Decrease for greater speed at the expense of accuracy, or set B=0 to turn off calculation of CIs. |
conf.type |
("none", "plain", "log" [default], "log-log") argument passed to survfit |
If the models include covariates a simulation procedure is required to generate averaged survival
curves. If the models do not include covariates then summary.flexsurvreg
is used
A AvCurvePlotData
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.