priorityMesh | R Documentation |
A function to generate a mesh, placing points preferentially where there are larger changes in the values of a set of environmental covariates
priorityMesh(
covars = NULL,
numCovarPoints = 100,
...,
funcApply = function(curRaster, extraOptions = writeOptions) {
do.call(terra::terrain, append(list(x = curRaster, v = "slope", filename =
tempfile(fileext = ".tif")), as.list(extraOptions)))
},
filename = NULL,
writeOptions = list()
)
covars |
A |
numCovarPoints |
An integer scalar that provides the number of extra
covariate-related triangulation points that will be produced and added to the
list of parameters appended to the |
... |
Parameters to be passed to the
|
funcApply |
A function to apply to the |
filename |
An optional character scalar giving the location to store the calculated intensity raster object. If this value is NULL (the default) then the raster is not stored in a file. |
writeOptions |
A list of named options to be passed to the
|
An inla.mesh
object
Joseph D. Chipperfield, joechip90@googlemail.com
fm_mesh_2d_inla
,
SpatRaster
, terrain
,
writeRaster
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.