zim.fit | R Documentation |
zim.fit
is the basic computing engine called by zim
used to fit
zero-inflated models. This should usually not be used directly unless by experienced users.
zim.fit(
y,
X,
Z,
weights = rep(1, nobs),
offset = rep(0, nobs),
control = zim.control(...),
...
)
y |
response variable. |
X |
design matrix for log-linear part. |
Z |
design matrix for logistic part. |
weights |
an optional vector of 'prior weights' to be used in the fitting process. |
offset |
offset variable |
control |
control arguments from |
... |
additional argumetns. |
zim
, zim.control
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.