Landscape Metrics for Categorical Map Patterns
raster_to_points
Get cell number
Create neighborhood coordinates
First nearest neighbor distance
Coordinates from a matrix
Check input landscape
construct_buffer
data_info
Calculate correlation
calculate_lsm
extract_lsm
get_adjacencies
get_area_patches
get_boundaries
get_centroids
get_perimeter_patch
get_circumscribingcircle
get_class_patches
get_complexity
get_enn_patch
get_nearestneighbour
get_patches
get_points
get_unique_values
Landscape as list
landscapemetrics
List landscape metrics
AI (class level)
AREA_CV (class level)
AREA_MN (class level)
AREA_SD (class level)
CA (class level)
CAI_CV (class level)
CAI_MN (class level)
CAI_SD (class level)
CIRCLE_CV (Class level)
CIRCLE_MN (Class level)
CIRCLE_SD (Class level)
CLUMPY (class level)
COHESION (class level)
CONTIG_CV (class level)
CONTIG_MN (class level)
CONTIG_SD (class level)
CORE_CV (class level)
CORE_MN (class level)
CORE_SD (class level)
CPLAND (class level)
DCAD (class level)
DCORE_CV (class level)
ENN_CV (class level)
DCORE_MN (class level)
DCORE_SD (class level)
DIVISION (class level)
ED (class level)
ENN_MN (class level)
ENN_SD (class level)
FRAC_CV (class level)
FRAC_MN (class level)
FRAC_SD (class level)
GYRATE_CV (class level)
GYRATE_MN (class level)
GYRATE_SD (class level)
ENT (landscape level)
Interspersion and Juxtaposition index (class level)
LPI (class level)
LSI (class level)
MESH (class level)
NP (landscape level)
NDCA (class level)
nLSI (class level)
NP (class level)
PAFRAC (class level)
PARA_CV (class level)
PAFRAC (landscape level)
PARA_MN (class level)
PARA_SD (class level)
PD (class level)
PLADJ (class level)
matrix_to_raster
PLAND (class level)
SHAPE_CV (class level)
SHAPE_MN (class level)
SHAPE_SD (class level)
options_landscapemetrics
SPLIT (class level)
TCA (class level)
TE (class level)
AI (landscape level)
AREA_CV (landscape level)
AREA_MN (landscape level)
AREA_SD (landscape level)
CAI_CV (landscape level)
pad_raster
CAI_MN (landscape level)
CAI_SD (landscape level)
CIRCLE_CV (landscape level)
CIRCLE_MN (landscape level)
CIRCLE_SD (landscape level)
points_as_mat
COHESION (landscape level)
Conditional entropy (landscape level)
CONTAG (landscape level)
CONTIG_CV (landscape level)
CONTIG_MN (landscape level)
CONTIG_SD (landscape level)
CORE_CV (landscape level)
CORE_MN (landscape level)
CORE_SD (landscape level)
DCAD (landscape level)
DCORE_CV (landscape level)
DCORE_MN (landscape level)
DCORE_SD (landscape level)
DIVISION (landscape level)
ED (landscape level)
ENN_CV (landscape level)
ENN_MN (landscape level)
ENN_SD (landscape level)
FRAC_CV (landscape level)
FRAC_MN (landscape level)
FRAC_SD (landscape level)
GYRATE_CV (landscape level)
GYRATE_MN (landscape level)
GYRATE_SD (landscape level)
Interspersion and Juxtaposition index (landscape level)
JOINENT (landscape level)
LPI (landscape level)
LSI (landscape level)
MESH (landscape level)
MSIDI (landscape level)
MSIEI (landscape level)
MUTINF (landscape level)
NDCA (landscape level)
PARA_CV (landscape level)
PARA_MN (landscape level)
PARA_SD (landscape level)
PD (landscape level)
PLADJ (landscape level)
PR (landscape level)
PRD (landscape level)
RELMUTINF (landscape level)
RPD (landscape level)
SHAPE_CV (landscape level)
SHAPE_MN (landscape level)
SHAPE_SD (landscape level)
SHDI (landscape level)
prepare_extras
SHEI (landscape level)
SIDI (landscape level)
SIEI (landscape level)
SPLIT (landscape level)
TA (landscape level)
TCA (landscape level)
TE (landscape level)
AREA (patch level)
CAI (patch level)
CIRCLE (patch level)
CONTIG (patch level)
CORE (patch level)
ENN (patch level)
FRAC (patch level)
proj_info
GYRATE (patch level)
NCORE (patch level)
PARA (patch level)
PERIM (patch level)
SHAPE (patch level)
sample_lsm
Show core area
Show correlation
Show landscape metrics
Show patches
spatialize_lsm
unpad_raster
window_lsm
Calculates landscape metrics for categorical landscape patterns in a tidy workflow. 'landscapemetrics' reimplements the most common metrics from 'FRAGSTATS' (<https://www.fragstats.org/>) and new ones from the current literature on landscape metrics. This package supports 'terra' SpatRaster objects as input arguments. It further provides utility functions to visualize patches, select metrics and building blocks to develop new metrics.
Useful links