Description Usage Arguments Value Author(s) See Also
Prediction for test data using an object of class mlogreg
.
1 2 |
object |
an object of class |
newData |
a matrix or data frame containing new data. If omitted
|
type |
character vector indicating the type of output. If |
... |
Ignored. |
A numeric vector containing the predicted classes (if type = "class"
), or a matrix composed of the
class probabilities (if type = "prob"
).
Holger Schwender, holger.schwender@hhu.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.