list_lsm( level =NULL, metric =NULL, name =NULL, type =NULL, what =NULL, simplify =FALSE, verbose =TRUE)
Arguments
level: Level of metrics. Either 'patch', 'class' or 'landscape' (or vector with combination).
metric: Abbreviation of metrics (e.g. 'area').
name: Full name of metrics (e.g. 'core area')
type: Type according to FRAGSTATS grouping (e.g. 'aggregation metrics').
what: Selected level of metrics: either "patch", "class" or "landscape". It is also possible to specify functions as a vector of strings, e.g. what = c("lsm_c_ca", "lsm_l_ta").
simplify: If true, function names are returned as vector.
verbose: Print warning messages
Returns
tibble
Details
List all available landscape metrics depending on the provided filter arguments. If an argument is not provided, automatically all possibilities are selected. Therefore, to get all available metrics, use simply list_lsm(). For all arguments with exception of the what argument, it is also possible to use a negative subset, i.e. all metrics but the selected ones. Therefore, simply use e.g. level = "-patch". Furthermore, it is possible to only get a vector with all function names instead of the full tibble.
Examples
list_lsm(level = c("patch","landscape"), type ="aggregation metric")list_lsm(level ="-patch", type ="area and edge metric")list_lsm(metric ="area", simplify =TRUE)list_lsm(metric ="area", what ="lsm_p_shape")list_lsm(metric ="area", what = c("patch","lsm_l_ta"))list_lsm(what = c("lsm_c_tca","lsm_l_ta"))
References
McGarigal K., SA Cushman, and E Ene. 2023. FRAGSTATS v4: Spatial Pattern Analysis Program for Categorical Maps. Computer software program produced by the authors; available at the following web site: https://www.fragstats.org