| bincap {HandTill2001} | R Documentation | 
A Constructor for Objects of Class bincap
Description
bincap(...) is an alias to new("bincap", ...).
Usage
bincap(response, predicted, true = "1")
Arguments
| response | Object of class  | 
| predicted | Object of class  | 
| true | Object of class  | 
Details
There is no casting or conversion of data. bincap(...) is just an
alias to new("bincap", ...).
Value
An object of class bincap.
See Also
Examples
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")
)
[Package HandTill2001 version 1.0.1 Index]