read_model() reads arguments model, ordinal, type and alpha passed
by function field3logit() and properly sets the matrix of coefficients
and the other needed model-specific functions.
read_model(model, type, alpha = NULL, vcov = NULL)read_from_multinom(model, ...)
read_from_polr(model, ...)
read_from_mlogit(model, ...)
read_from_vgam(model, ...)
read_from_matrix(model, alpha, vcov, ...)
see field3logit().
class of the model. Currently, forced to "logit"
by field3logit() when read_model() is called.
see field3logit().
(only if the model is read from a matrix, otherwise it will be ignored) variance-covariance matrix of parameter estimates. The elements of the variance-covariance matrix should be ordered according to the matrix of parameter estimates where the categories of the dependent variable are the slow index, whereas the covariates are the fast index.
other arguments passed to or from other methods.
read_model returns a named list with the following components:
matrix of coefficients.
variance-covariance matrix of coefficients.
see field3logit().
argument type.
logical variable indicating wheter the model is
ordinal or not.
link function.
inverse of the link function.
function that computes the points the curve of
the field should pass through (see DeltaB2pc()).