Description Usage Arguments Details Value Examples
Efficient Linear Model Weighted Fit ("elm.wfit"
) is used
to fit linear models in an equivalent way to "glm.fit"
but in
a reduced time depending on the design matrix and the family (or link).
1 2 3 4 5 6 7 8 9 10 11 |
x |
logical values indicating whether the
model matrix ( |
y |
logical values indicating whether the
model matrix ( |
weights |
an optional vector of weights to be used in the fitting
process. Should be |
offset |
this can be used to specify an a priori known component
to be included in the linear predictor during fitting. This should be
|
method |
the method to be used in fitting the model. The default method
|
tol |
tolerance for the |
singular.ok |
logical; if FALSE a singular fit is an error. |
reduce |
logical; if TRUE an alternate design matrix of |
... |
For eglm: arguments to be used to form the default control argument if it is not supplied directly. For weights: further arguments passed to or from other methods. |
elm.wfit
is a workhorse function: it is not normally called
directly but can be more efficient where the response vector, design matrix
and family have already been calculated. Use elm
for most of the
cases.
A list that contains the same elements as the output from
"lm.fit"
.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.