Description Objects from the Class Slots Extends Methods Author(s) See Also Examples
S4 class for a multiple class response and corresponding (predicted) probabilities.
Objects can be created by calls of the form new("multcap", ...).
They are used to store a multiple class response and the predicted probabilities for each of the levels(response).
predicted:Object of class "matrix", probabilities for response. Of dimension (n,length(unique(response))).
The columns (dimnames()[[2]]) of the prediction matrix have to be named with the values of unique(response).This is the default for example with
predict.rpart(type="prob",...).)
response:Object of class "factor", multiple class observations. Of length n.
Class "cap", directly.
signature(object = "multcap"): ...
Andreas Dominik Cullmann
"class?cap"
, "class?bincap"
, "?multcap"
1 | showClass("multcap")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.