bincap-class: Class '"bincap"' in Package 'HandTill2001'

Description Objects from the Class Slots Extends Methods Note Author(s) See Also Examples

Description

S4 class for a two class response and corresponding (predicted) probabilities.

Objects from the Class

Objects can be created by calls of the form new("bincap", ...). They are used to store a two class response (one of the two levels of which is supposed to be true), the information which of the two levels of the two class response is thought of as 'true'/'positive'/'present' (the other one would then be thought of as 'false'/'negative'/'absence') and the predicted probabilities that response is true.

Slots

predicted:

Object of class "numeric", probabilities for response. Of length n

true:

Object of class "character", indicating which of the two levels of response is to be treated as 'true'/'positive'/'presence' (the other one would then accordingly be called 'false'/'negative'/'absence'). Of length 1.

response:

Object of class "factor", two class observations. Of length n.

Extends

Class "cap", directly.

Methods

auc

signature(object = "bincap"): ...

Note

No defaults are set. Especially, you have to explicitly initialize true, there is no trying to guess it from the levels of response.

Author(s)

Andreas Dominik Cullmann

See Also

"class?cap" , "class?multcap" , "?bincap"

Examples

1
showClass("bincap")

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