View source: R/7.f.plot.mdl.sel.crit.diff.R
plot_mdl_diff_b | R Documentation |
Will plot (or save as PDF) differences between predictions of models selected using distinct model selection criteria (e.g. "AvgAIC", "LowAIC", "OR", "AUC") for multiple climatic scenarios.
plot_mdl_diff_b(
mcmp.l,
mtp.l,
basemap = NULL,
save = FALSE,
mfrow = c(0, 0),
numCores = 1,
msnm = c("avg.test.AUC10pct", "avg.test.AUC.MTP", "avg.test.or10pct", "avg.test.orMTP"),
msr = c("AUC (OR10p)", "AUC (ORlpt)", "OR10p (AUC)", "ORlpt (AUC)"),
scnm = c("cc26bi70", "cc45bi70", "cc60bi70", "cc85bi70", "mp26bi70", "mp45bi70",
"mp85bi70", "mr26bi70", "mr45bi70", "mr60bi50", "mr85bi70", "cclgmbi", "ccmidbi",
"lig_30s_bio_", "melgmbi", "memidbi", "mrlgmbi", "mrmidbi", "ncurrent", "current"),
scr = c("2070-CCSM4-rcp2.6", "2070-CCSM4-rcp4.5", "2070-CCSM4-rcp6.0",
"2070-CCSM4-rcp8.5", "2070-MPI-ESM-LR-rcp2.6", "2070-MPI-ESM-LR-rcp4.5",
"2070-MPI-ESM-LR-rcp8.5", "2070-MIROC-ESM-rcp2.6", "2070-MIROC-ESM-rcp4.5",
"2070-MIROC-ESM-rcp6.0", "2070-MIROC-ESM-rcp8.5", "LGM-CCSM4", "MH-CCSM4",
"LIG-CCSM3", "LGM-MPI-ESM-P", "MH-MPI-ESM-P", "LGM-MIROC-ESM", "MH-MIROC-ESM",
"Near Current", "Near Current")
)
mcmp.l |
Object returned by |
mtp.l |
List of stack or brick of thresholded predictions |
basemap |
Shapefile to be plotted with. Usually a continent or country shapefile |
save |
Logical. If TRUE will save plots in pdf. |
mfrow |
Number of rows and cols to draw plot (see ?par for details). If |
numCores |
Number of cores to use for parallelization. If set to 1, no paralellization is performed |
msnm |
Character vector. Short names of model selection criteria to be replaced. Same as given in Model names (ex. AUC10, AUCmtp, OR10, ORmtp) |
msr |
Character vector. Long names of model selection criteria to replace the short names. Must be in same order of argument 'msnm' |
scnm |
Character vector. Short names of climatic scenarios to be replaced. Ex. "cc26bi70", "cc45bi70" |
scr |
Character vector. Long names of climatic scenarios to replace the short names. Must be in same order of argument 'scnm'. Ex. "2070-CCSM4-rcp2.6", "2070-CCSM4-rcp4.5" |
Plot differences between predictions of models selected using distinct criteria (e.g. "AvgAIC", "LowAIC", "OR", "AUC") for multiple climatic scenarios and multiple species
A panel for each combination of climatic scenario and threshold criteria will be created. Within each panel, the differences between all combinations of 2 models (e.g. AvgAIC vs. OR) will be plotted
plot_scn_diff
## Not run:
plot_mdl_diff_b(mcmp.l=mxnt.mdls.preds.lst, mtp.l=mods.thrshld.lst, basemap=NewWorld)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.