Description Usage Arguments Value
Must be created for all subsequent plot function calls.
1 | makeRBPObj(pred, y, positive = NULL)
|
pred |
[ |
y |
[ |
positive |
[ |
Object members:
n
[numeric(1)
]Number of observations.
pred
[numeric(n)
]Predicted probabilities.
y
[numeric(n)
]Target variable having the values 0 and 1.
positive
[character(1)
]Positive class label of traget variable. Only present when y
is a factor.
e0
[numeric(1)
]Average of the predicted probabilities conditional on y=0
.
e1
[numeric(1)
]Average of the predicted probabilities conditional on y=1
.
pev
[numeric(1)
]Proportion of explained variation measure. Computed as e1-e0
.
tpr
[numeric(1)
]True positive rate.
fpr
[numeric(1)
]False positive rate.
prev
[numeric(1)
]Prevalence.
one.min.prev
[numeric(1)
]One minus the value of the prevalence.
axis.x
[numeric(n)
]Values for the X-Axis of the RBP curve.
axis.y
[numeric(n)
]Values for the Y-Axis of the RBP curve.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.