- x
numeric matrix, `dgCMatrix`, or [fastglm_source()] supplying rows
on demand. A source must supply its own responses, weights, and offsets.
- y
non-negative integer response vector; omitted for a data source.
- weights
optional prior weights vector of length `length(y)`.
- offset
optional offset vector of length `length(y)`.
- start
optional starting values for `beta`.
- init.theta
optional starting value for `theta`. If `NULL`, dense
fits use a moment initializer; sparse and source fits start at one after
fitting the Poisson mean model.
- link
character, one of `"log"` (default), `"sqrt"`, `"identity"`.
- method
integer; `0..5`, see [fastglm()].
- tol
convergence tolerance for the IRLS inner loop.
- maxit
maximum number of inner-loop IRLS iterations.
- outer.maxit
maximum number of `(beta, theta)` outer iterations.
- outer.tol
convergence tolerance for the outer loop on the
sup-norm of the beta update plus the relative change in `theta`.
- theta.tol
tolerance for the inner theta update.
- theta.maxit
max iterations for the inner theta MLE.
- block.size
maximum rows processed together for sparse-model size
estimation and joint inference. A source determines its own block sizes.