# .modelfit

From model4you v0.9-5
by Heidi Seibold

##### Fit function when model object is given

Use update function to refit model and extract info such as coef, logLik and estfun.

##### Usage

`.modelfit(model, data, coeffun = coef, weights, control, parm = NULL)`

##### Arguments

- 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

`ctree_control`

.- parm
which parameters should be used for instability test?

##### Value

A function returning a list of

`coef`

.

`logLik`

.

the model object.

Did the model converge?

`estfun`

.

*Documentation reproduced from package model4you, version 0.9-5, License: GPL-2 | GPL-3*

### Community examples

Looks like there are no examples yet.