rmmAutofillEnvironment | R Documentation |
This can be used with environmental layers used for fitting or transferring
rmmAutofillEnvironment(rmm, env, transfer)
rmm |
an rmm list |
env |
a SPatRaster object |
transfer |
0 if not transfer, 1:n for n environments that you're transferring to |
See Examples.
a range model metadata list
Cory Merow <cory.merow@gmail.com>, Brian Maitner <bmaitner@gmail.com>,
Other autofill:
rmmAutofillBIEN()
,
rmmAutofillPackageCitation()
,
rmmAutofillspocc()
## Not run:
rmm <- rmmTemplate()
rasterFiles <- list.files(path=paste(system.file(package='dismo'), '/ex', sep=''),
pattern='grd', full.names=TRUE)
#make a stack of the rasters
env <- terra::rast(rasterFiles)
# for fitting environment
rmm <- rmmAutofillEnvironment(rmm,env,transfer=0)
# for the first environment that you're transfering to
rmm <- rmmAutofillEnvironment(rmm,env,transfer=1)
# for the second environment that you're transfering to, etc.
rmm <- rmmAutofillEnvironment(rmm,env,transfer=2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.