R/ordinal-prepared.R
fastglm_ordinal_batch.RdFits responses sequentially using a prepared ordinal design. The design setup is reused whenever effective row frequencies match. Each response uses its own empirical starting thresholds and category mapping; estimates from an earlier response are not used as starting values.
fastglm_ordinal_batch(
design,
y,
weights = NULL,
offset = NULL,
levels = NULL,
firth = NULL,
tol = 1e-08,
maxit = 200L,
block.size = 2048L,
control = list(),
link = NULL,
nonparallel = NULL
)an object from fastglm_ordinal_prepare(), or a dense numeric
matrix without a location intercept.
a list of ordinal responses. Each element may be an ordered factor,
category codes with declared levels, or a matrix of category counts.
Use a list even for a single count matrix, so its category columns are not
mistaken for separate responses.
common fitting vectors, or matrices with one column per
response. NULL uses the prepared defaults. Replacement offsets are total
location offsets.
common outcome labels or a list with one category order per
response. NULL uses the prepared default or each response's own labels.
default to the prepared design's setting, or FALSE for a matrix.
ordinal fitting controls; see fastglm_ordinal().
default to the prepared link, or "logit" for a matrix.
selected varying slopes, as in
fastglm_ordinal_prepare(). Omitting this argument uses the prepared
default; explicitly supplying NULL selects common slopes.
A list of fastglm_ordinal fits, with the response list's names.