Mesh building shiny app. Creates and visualises a mesh from some spatial data.
Source:R/shiny_meshbuilder.R
mesh_builder.Rd
Mesh building shiny app. Creates and visualises a mesh from some spatial data.
Usage
mesh_builder(
spatial_data,
obs_data = NULL,
crs = NULL,
max_edge = NULL,
offset = NULL,
cutoff = NULL,
y_coord = "LAT",
x_coord = "LONG"
)
Arguments
- spatial_data
Spatial data
- obs_data
Measurement data
- crs
CRS as a proj4string
- max_edge
The largest allowed triangle edge length. One or two values, passed to fmesher::fm_mesh_2d_inla
- offset
Specifies the size of the inner and outer extensions around data locations, passed to fmesher::fm_mesh_2d_inla
- cutoff
The minimum allowed distance between points, passed to fmesher::fm_mesh_2d_inla
- y_coord
Name of the latitude column in the spatial data
- x_coord
Name of the longitude column in the spatial data