bincap: a ui-constructor for Class '"bincap"' in Package...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

bincap(...) is an alias to new("bincap", ...).

Usage

1
bincap(response, predicted, true = "1")

Arguments

response

Object of class "factor".

predicted

Object of class "numeric".

true

Object of class "character".

Details

There is no casting or conversion of data. bincap(...) is just an alias to new("bincap",...).

Value

An object of class "bincap"

Author(s)

Andreas Dominik Cullmann

See Also

"class?bincap"

Examples

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")
    )

nkola123/kola documentation built on May 23, 2019, 9:05 p.m.