plot_scn: internal function for 'plot_mdl_diff', 'plot_scn_diff_b'

View source: R/7.f.plot.mdl.sel.crit.diff.R

plot_scnR Documentation

internal function for plot_mdl_diff, plot_scn_diff_b

Description

internal function for plot_mdl_diff, plot_scn_diff_b

Usage

plot_scn(
  m,
  mtp,
  ref.scn = "ncurrent",
  basemap,
  thrshld.path,
  thrshld.nms.mod,
  save,
  mfrow = c(0, 0),
  msnm,
  msr,
  scnm,
  scr
)

Arguments

m

Index of model selection criteria to be plotted

mtp

Stack or brick of thresholded predictions

ref.scn

Selected climatic scenario to compare with all others. Usually "ncurrent". any (row or col) is 0, it will draw the layout automatically.

basemap

Shapefile to be plotted with. Usually a continent or country shapefile

thrshld.path

path to threshold projections

thrshld.nms.mod

names of threshold models

save

Logical. If TRUE will save plots in pdf.

mfrow

Number of rows and cols to draw plot (see ?par for details). If

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"


HemingNM/ENMwizard documentation built on Jan. 4, 2024, 3:24 p.m.