Method to create FromDataSimParam objects
Create FromDataSimParam object from survreg model
1 2 3 4 5 6 7 8 | FromDataParam(object, type, ...)
## S4 method for signature 'survreg,character'
FromDataParam(object, type)
## S4 method for signature 'missing,character'
FromDataParam(object, type, rate, shape,
sigma = matrix(c(0, 0, 0, 0), nrow = 2))
|
object |
The object to derive the fromDataParam |
type |
The type argument to be used in the FromDataSimParam type slot |
... |
Additional options to be passed into the function |
rate |
The (mean) Weibull/loglogistic rate parameter for the simulations |
shape |
The (mean) Weibull/loglogistic shape parameter for the simulations |
sigma |
Advanced: The covariance (uncertainty) matrix used to sample single simulation rates and shapes. The covariance matrix describes the uncertainty of -log(rate),-log(shape) - i.e. the var matrix of a survreg Weibull/loglogistic survival model |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.