View source: R/9.1.community_metrics.R
comm_spatial_metric | R Documentation |
This function will compute user defined spatial metrics for each trait grouped taxa
comm_spatial_metric(
trait.gr,
fun = sum,
user.fun = NULL,
result.name = "richness",
numCores = 1,
format = "raster",
...
)
trait.gr |
Object returned by |
fun |
function to be passed to |
user.fun |
User specified function. Can be used to compute focal/window metrics |
result.name |
Name of directory where results will be saved |
numCores |
Number of cores to use for parallelization. If set to 1, no paralellization is performed |
format |
Character. Output file type. Argument 'format' of raster::writeRaster |
... |
Additional arguments:
You can use options=c("PROFILE=BASELINE") to create a plain tif with no GeoTIFF tags. This can be useful when writing files to be read by applications intolerant of unrecognised tags. NetCDF files have the following additional, optional, arguments:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.