Description Usage Arguments References See Also Examples
View source: R/skill_ROCPlot.R
This function plots ROC curves for a variety of observed
classification thresholds.
1 2 3 4 5 6 7 8 |
predicted |
vector of predicted values (or a ws_monitor object with a single location) |
observed |
vector of observed values (or a ws_monitor object with a single location) |
t1Range |
lo and high values used to generate test thresholds for classifying |
t2s |
vector of thresholds used to classify |
n |
number of test thresholds in ROC curve |
colors |
vector of colors used when plotting curves |
Receiver Operating Characteristic
skill_confusionMatrix
skill_ROC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
# Fail gracefully if any resources are not available
try({
# Napa Fires -- October, 2017
ca <- airnow_loadAnnual(2017) %>%
monitor_subset(tlim = c(20171001,20171101), stateCodes = 'CA')
Vallejo <- monitor_subset(ca, monitorIDs = '060950004_01')
Napa <- monitor_subset(ca, monitorIDs = '060550003_01')
skill_ROCPlot(Vallejo, Napa)
}, silent = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.