mlogreg.
"predict"(object, newData, type = c("class", "prob"), ...)mlogreg, i.e.\ the output of the
function mlogreg.object\$data, i.e.\ the original training data, are used.
Each row of newData must correspond
to a new observation. Each row of newData must contain the same
variable as the corresponding column of the data matrix used in mlogreg,
i.e.\ x if the default method of mlogreg has been used, or
data without the column containing the response if the formula method
has been used."class", a
vector containing the predicted classes of the observations will be returned.
If "prob", the class probabilities for each level and all observations are returned.type = "class"), or a matrix composed of the
class probabilities (if type = "prob").
mlogreg