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