Constructs the model frame using the same conventions as [stats::glm()]. Factors, contrasts, offsets, missing observations, and prediction terms are retained for subsequent inference and prediction.
# S3 method for formula
fastglm(
x,
data,
family = gaussian(),
subset,
na.action,
weights,
offset,
contrasts = NULL,
method = 0L,
tol = 1e-08,
maxit = 100L,
firth = FALSE,
...
)A fitted model inheriting from `fastglmFit`, `glm`, and `lm`.
a model formula.
See [stats::glm()].
a GLM family.
decomposition number or name; `"auto"` tries Cholesky and falls back to pivoted QR for a singular or ill-conditioned dense design.
convergence tolerance and iteration limit.
use mean bias reduction.
additional arguments to [stats::glm()].