st_mesh: Calculate the effective mesh size

View source: R/st_mesh.R

st_meshR Documentation

Calculate the effective mesh size

Description

This function calculates the effective mesh size.

Usage

st_mesh(
  geom.frag,
  geom.boundary = NULL,
  total.area = NULL,
  conv = 10000,
  do.preProcessing = TRUE,
  return.geom = FALSE,
  quiet = TRUE
)

Arguments

geom.frag

polygon of class sf representing the fragmentation geometry

geom.boundary

polygon of class sf representing subregions, e.g. administrative boundaries

total.area

Numeric value representing size for area. Only to use if geom.boundary is not present. Value must match with the conversion constant c (default hectare). Default: NULL

conv

constant to convert original square meter output. Default: 10000 to convert to hectare. If set to 1, than meter square is the result.

do.preProcessing

If TRUE (default), the input of geom.frag is, first, dissolved to single part feature, and second, splitted to multi-parts. By this step it is assured, that polygon connected to each other are summarized

return.geom

If set to TRUE, intermediate geometries are returned as well. Default: FALSE

quiet

If set to FALSE actual state is printed to console. Default: TRUE.

Value

If return.geom is TRUE than list with result and geometry is returned. Otherwhise result is returned in form of a data.frame

Note

Code is based on the following references:

  • Moser, B., Jaeger, J. A., Tappeiner, U., Tasser, E., & Eiselt, B. (2007). Modification of the effective mesh size for measuring landscape fragmentation to solve the boundary problem. Landscape ecology, 22(3), 447-459.

  • Jaeger, J. A. (2000). Landscape division, splitting index, and effective mesh size: new measures of landscape fragmentation. Landscape ecology, 15(2), 115-130.


raff-k/VLSM documentation built on Oct. 13, 2023, 11:13 a.m.