Description Usage Arguments Details Value Author(s) See Also Examples
multcap(...)
is an alias to new("multcap", ...)
.
1 | multcap(response, predicted)
|
response |
Object of class |
predicted |
Object of class |
There is no casting or conversion of data. multcap(...)
is just an alias to new("multcap", ...)
.
An object of class "bincap"
Andreas Dominik Cullmann
1 2 3 4 5 6 7 8 | library(HandTill2001)
data(ht01.multipleclass)
str(ht01.multipleclass$observed)
message("note that ht01.multipleclass$observed is a factor; we do not have to convert it.")
multcap(
response = ht01.multipleclass$observed
, predicted = as.matrix(ht01.multipleclass[, levels(ht01.multipleclass$observed)])
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.