# Calculate pauc of Sepal.Width as a classifier of setosa species in
# in TPR = (0.9, 1)
pauc(
iris,
response = Species,
predictor = Sepal.Width,
ratio = "tpr",
lower_threshold = 0.9,
upper_threshold = 1
)
# Calculate pauc of Sepal.Width as a classifier of setosa species in
# in FPR = (0, 0.1)
pauc(
iris,
response = Species,
predictor = Sepal.Width,
ratio = "fpr",
lower_threshold = 0,
upper_threshold = 0.1
)
Run the code above in your browser using DataLab