makeRBPObj(pred, y, positive = NULL)
numeric
]
Predicted probabilities for each observation.numeric
| factor
]
Class labels of the target variable.
Either a numeric vector with values 0
or 1
, or a factor with two levels.character(1)
]
Set positive class label for target variable which is transformed as 1
to compute.
Only needed when y
is a "factor".n
[numeric(1)
]pred
[numeric(n)
]y
[numeric(n)
]positive
[character(1)
]y
is a factor.e0
[numeric(1)
]y=0
.e1
[numeric(1)
]y=1
.pev
[numeric(1)
]e1-e0
.tpr
[numeric(1)
]fpr
[numeric(1)
]prev
[numeric(1)
]one.min.prev
[numeric(1)
]axis.x
[numeric(n)
]axis.y
[numeric(n)
]