Description Usage Arguments Details Value See Also Examples
Preparation of the input for dynfrail_fit
1 2 | dynfrail_prep(formula, data, distribution = dynfrail_dist(),
control = dynfrail_control(), ...)
|
formula |
A formula that contains on the left hand side an object of the type |
data |
A data frame in which the formula argument can be evaluated |
distribution |
An object as created by |
control |
An object as created by |
... |
Other arguments, currently used to warn about deprecated argument names |
This is an internal function of dynfrail
thath actually does before going to the inner maximization, except for the starting values.
The input is identical to that from dynfrail
A scenario where this would be useful would be to make these calculations and then things would be passed on to dynfrail_fit
.
A list with what is needed to be used with dynfrail_fit
1 2 | arglist1 <- dynfrail_prep(Surv(time, status) ~ rx + sex + cluster(litter),
data = rats)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.