Plot effects on conifer-to-deciduous or deciduous-to-conifer conversions.

plotLeadingSpecies(
  studyAreaName,
  climateScenario,
  Nreps,
  years,
  outputDir,
  treeSpecies,
  defineLeading = .defineLeading,
  leadingPercentage = 0.8,
  treeType = NULL,
  rasterToMatch
)

Arguments

studyAreaName

character string giving the study area name

climateScenario

character string specifying the name of a CIMP6 climate scenario, including SSP, formatted as in ClimateNA, using underscores as separator (e.g., 'CanESM5_SSP370').

Nreps

the number of simulation replicates/run used to produce summary figures. NOTE: mclapply is used internally, so you should set options(mc.cores = nReps) to take advantage of parallel processing.

years

TODO

outputDir

Path specifying the directory to which outputs figures/objects should be saved.

treeSpecies

TODO

defineLeading

TODO

leadingPercentage

TODO

treeType

TODO

rasterToMatch

A RasterLayer objects to use as the template for all subsequent raster operations (i.e., the one used throughout the simulation).

Value

list of file names corresponding to the figures and/or objects written to disk

list of filepaths corresponding to the images and/or objects written to disk