Description Usage Arguments Details Value Examples
Computes the Positive Predictive Value (PPV) of a given test/prediction against a gold standard/ground truth.
1 | ppv(pred, truth)
|
pred |
vector of 1s and 0s or True and False representing predictions |
truth |
vector of 1s and 0s or True and False representing gold standards or ground truths |
Takes in vectors representing a prediction and a ground truth. Vectors may be either logical using T/F or numeric using 1 and 0s. Vectors must be of the same length
Positive predictive value (PPV) computed as True Pos / (True Pos + False Pos)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.