cellBySpeciesMatrices | R Documentation |
Convert a folder of species range maps to a sparse matrix
cellBySpeciesMatrices( outDir, rasterFiles, spNames, scenario, sp.ind, cell.ind, envGrid, nCellChunks, removeTempFiles = FALSE, mc.cores = mc.cores, overwrite = FALSE, reprojectToEnv = F, verbose = F )
scenario |
character; any user-defined terms for scenarios are acceptable. For example, ‘Present’, ’2050’, ’2070’ |
nCellChunks |
integer - number of chunks to break species and cell lists into in order to reduce memory demands. Use more chunks if your computer doesn't have a lot of RAM |
mc.cores |
number of cores to use |
overwrite |
logical; overwrite existing files? |
reprojectToEnv |
logical; if the species rasters are not in the same projection as 'envGrid', set to TRUE to reproject first. |
sumDirs |
a list of directories as created by 'setupSummaryDirectories' |
env |
a raster object defining the grid associated with cell indices |
allSpeciesMaps |
a list with two elements of the same length named 'rasterFile' (full paths to rasters) and 'speciesNames' (taxon names associated with each raster file) |
verbos |
logical; print optional status reports # @examples#@return NULL |
Cory Merow <cory.merow@gmail.com>, Pep Serra-Diaz # @note# @seealso# @references# @aliases - a list of additional topic names that will be mapped to# this documentation when the user looks them up from the command# line.# @family - a family name. All functions that have the same family tag will be linked in the docum@export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.