.modelfit | R Documentation |
Use update function to refit model and extract info such as coef, logLik and estfun.
.modelfit(model, data, coeffun = coef, weights, control, parm = NULL)
model |
model object. |
data |
data. |
coeffun |
function that takes the model object and returns the coefficients. Useful when coef() does not return all coefficients (e.g. survreg). |
weights |
weights. |
control |
control options from |
parm |
which parameters should be used for instability test? |
A function returning a list of
coefficients |
|
objfun |
|
object |
the model object. |
converged |
Did the model converge? |
estfun |
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.