Given the probability distributions \(P\in[0,\,1]^{n\times 3}\) of the dependent variable, it computes the the values of linear predictors \(XB\in\textbf{R}^{n\times 2}\) according to notation used in santi2019;textualplot3logit.
P2XB(P, model)P2XB_cat3logit(P)
P2XB_ord3logit(P, alpha)
object of class matrix (or other coercible classes) such that
\(P\in[0,\,1]^{n\times 3}\).
object of class field3logit.
numeric vector of length two where constants \(\alpha^{(1)}\)
and \(\alpha^{(2)}\) are stored (only for ordinal models), as
defined in Equation (7) of santi2019;textualplot3logit.
Numeric matrix \(\textbf{R}^{n\times 2}\) of linear predictors.
XB2P.