simPredpolr.Rd
Calculates predicted probabilities from models of class polr
from a
model object and a vector of coefficient values. This is an auxiliary
function used in pre
if sim=TRUE
.
simPredpolr(object, coefs, n.coef)
object | An object of class |
---|---|
coefs | A vector of coefficients where elements 1 to |
n.coef | Number of coefficients (minus intercepts) for the |
An n x m-category matrix of predicted probabilities