bincap-class {HandTill2001} | R Documentation |
Binary Class and Prediction Objects
Description
S4 class for a binary 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 binary class response
(one
of the two levels
of which is supposed to be true
), the
information which of the two levels
of the binary 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
.
Note
No defaults are set. Especially, you have to explicitly initialize
true
, there is no trying to guess it from the levels
of
response
.
See Also
class?HandTill2001::cap
,
class?HandTill2001::multcap
,
?HandTill2001::bincap
Examples
showClass("bincap")
[Package HandTill2001 version 1.0.1 Index]