phiDelta.plot {phiDelta} | R Documentation |
Plot of phi delta diagram
Description
Plots delta against phi within the phi delta diagram shape
Usage
phiDelta.plot(phi, delta, ratio = 1, names = NULL, border = "red",
filling = "grey", crossing = TRUE, iso_specificity = FALSE,
iso_sensitivity = FALSE, iso_neg_predictive_value = FALSE,
iso_precision = FALSE, iso_accuracy = FALSE, highlighted = NULL)
Arguments
phi |
numeric value or vector of phi |
delta |
numeric value or vector of delta |
ratio |
numeric, is the ratio of positive and negative of the data |
names |
string with feature names |
border |
the color of the border of the shape. NA for no border |
filling |
the color to fill the shape with |
crossing |
logical, if the crossing should be drawn |
iso_specificity |
logical, if isometric lines of the specificity should be drawn |
iso_sensitivity |
logical, if isometric lines of the sensitivity should be drawn |
iso_neg_predictive_value |
logical, if isometric lines of the negative predictive value should be drawn |
iso_precision |
logical, if isometric lines of the precision should be drawn |
iso_accuracy |
logical, if isometric lines of the accuracy should be drawn |
highlighted |
numeric vector, indices of the points to higlight highlighted points will be orange |
Author(s)
rothe
Examples
x <- climate_data
phiDelta <- phiDelta.stats(x[,-1],x[,1])
phiDelta.plot(phiDelta$phi, phiDelta$delta)
phiDelta.plot(phiDelta$phi, phiDelta$delta,
ratio = phiDelta$ratio,
border = "green",
iso_neg_predictive_value = TRUE,
crossing = FALSE)
[Package phiDelta version 1.0.1 Index]