add_barrier_mesh {sdmTMB} | R Documentation |
Transform a mesh object into a mesh with correlation barriers
Description
Moved to the sdmTMBextra package. Make sure to load sdmTMBextra after sdmTMB.
Usage
add_barrier_mesh(
spde_obj = deprecated(),
barrier_sf = deprecated(),
range_fraction = 0.2,
proj_scaling = 1,
plot = FALSE
)
Arguments
spde_obj |
Output from |
barrier_sf |
An sf object with polygons defining the barriers. For
example, a coastline dataset for ocean data. Note that this object must
have the same projection as the data used to generate the x and y columns
in |
range_fraction |
The fraction of the spatial range that barrier triangles have. |
proj_scaling |
If |
plot |
Logical. |
Value
Deprecated. See the sdmTMBextra package.
Examples
## Not run:
add_barrier_mesh()
## End(Not run)
[Package sdmTMB version 0.7.2 Index]