BioSIMR/biosim.R
BioSIM_getMPBSLR.RdRaster stacks for all 9 MPB climate indices. See BioSIM::getModelHelp("MPB_SLR").
BioSIM_getMPBSLR(dem, years, SLR = "R", climModel = "GCM4", rcp = "RCP45")RasterLayer of elevation data (m).
numeric vector corresponding to the years to retrieve.
character. Specifies which climate suitability index to extract.
Currently, one of "S", "L", "R", or "G",
corresponding to Safranyik-P3P4, Logan-2b, Régnière Cold Tolerance Survival, or
their Geometric product (S\*L\*R), respectively.
climate model to use. one of "GCM4" or "RCM4".
RCP scenario to use. one of "RCP45" or "RCP85".
RasterStack
Although the BioSIM MPB_SLR model provides several other indices
(see BioSIM::getModelHelp("MPB_SLR")), only 4 are currently used here.