gettptnfpfn-defunct | R Documentation |
Function gettptnfpfn
calculates the number of
true positive (TP), false positive (FP),
true negative (TN) and false negative (FN), if certain depth of the
observations are treated as positive. Generally it applies to the
observations that are rank-ordered with respect to some diagnostic score.
x |
A response vector, consisting of only 1's and 0's. |
depth |
Depth, up to which the positive predictions are made. |
npos |
Number of positive responses. |
nneg |
Number of negative responses. |
Function gettptnfpfn
calculates the number of TP, FP,
TN, FN at specified depth. This is designed for numeric 1/0 coding
of the responses. Usually it applies to the observations, which are
rank-ordered with respect to some diagnostic score.
A numeric vector of length 4 indicating number of TP , FP, TN, FN, respectively.
ROCit-defunct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.