landscapemetrics2.1.4 package

Landscape Metrics for Categorical Map Patterns

raster_to_points

raster_to_points

rcpp_cell_from_xy

Get cell number

rcpp_create_neighborhood

Create neighborhood coordinates

rcpp_get_nearest_neighbor

First nearest neighbor distance

rcpp_xy_from_matrix

Coordinates from a matrix

check_landscape

Check input landscape

construct_buffer

construct_buffer

data_info

data_info

calculate_correlation

Calculate correlation

calculate_lsm

calculate_lsm

extract_lsm

extract_lsm

get_adjacencies

get_adjacencies

get_area_patches

get_area_patches

get_boundaries

get_boundaries

get_centroids

get_centroids

get_perimeter_patch

get_perimeter_patch

get_circumscribingcircle

get_circumscribingcircle

get_class_patches

get_class_patches

get_complexity

get_complexity

get_enn_patch

get_enn_patch

get_nearestneighbour

get_nearestneighbour

get_patches

get_patches

get_points

get_points

get_unique_values

get_unique_values

landscape_as_list

Landscape as list

landscapemetrics

landscapemetrics

list_lsm

List landscape metrics

lsm_c_ai

AI (class level)

lsm_c_area_cv

AREA_CV (class level)

lsm_c_area_mn

AREA_MN (class level)

lsm_c_area_sd

AREA_SD (class level)

lsm_c_ca

CA (class level)

lsm_c_cai_cv

CAI_CV (class level)

lsm_c_cai_mn

CAI_MN (class level)

lsm_c_cai_sd

CAI_SD (class level)

lsm_c_circle_cv

CIRCLE_CV (Class level)

lsm_c_circle_mn

CIRCLE_MN (Class level)

lsm_c_circle_sd

CIRCLE_SD (Class level)

lsm_c_clumpy

CLUMPY (class level)

lsm_c_cohesion

COHESION (class level)

lsm_c_contig_cv

CONTIG_CV (class level)

lsm_c_contig_mn

CONTIG_MN (class level)

lsm_c_contig_sd

CONTIG_SD (class level)

lsm_c_core_cv

CORE_CV (class level)

lsm_c_core_mn

CORE_MN (class level)

lsm_c_core_sd

CORE_SD (class level)

lsm_c_cpland

CPLAND (class level)

lsm_c_dcad

DCAD (class level)

lsm_c_dcore_cv

DCORE_CV (class level)

lsm_c_enn_cv

ENN_CV (class level)

lsm_c_dcore_mn

DCORE_MN (class level)

lsm_c_dcore_sd

DCORE_SD (class level)

lsm_c_division

DIVISION (class level)

lsm_c_ed

ED (class level)

lsm_c_enn_mn

ENN_MN (class level)

lsm_c_enn_sd

ENN_SD (class level)

lsm_c_frac_cv

FRAC_CV (class level)

lsm_c_frac_mn

FRAC_MN (class level)

lsm_c_frac_sd

FRAC_SD (class level)

lsm_c_gyrate_cv

GYRATE_CV (class level)

lsm_c_gyrate_mn

GYRATE_MN (class level)

lsm_c_gyrate_sd

GYRATE_SD (class level)

lsm_l_ent

ENT (landscape level)

lsm_c_iji

Interspersion and Juxtaposition index (class level)

lsm_c_lpi

LPI (class level)

lsm_c_lsi

LSI (class level)

lsm_c_mesh

MESH (class level)

lsm_l_np

NP (landscape level)

lsm_c_ndca

NDCA (class level)

lsm_c_nlsi

nLSI (class level)

lsm_c_np

NP (class level)

lsm_c_pafrac

PAFRAC (class level)

lsm_c_para_cv

PARA_CV (class level)

lsm_l_pafrac

PAFRAC (landscape level)

lsm_c_para_mn

PARA_MN (class level)

lsm_c_para_sd

PARA_SD (class level)

lsm_c_pd

PD (class level)

lsm_c_pladj

PLADJ (class level)

matrix_to_raster

matrix_to_raster

lsm_c_pland

PLAND (class level)

lsm_c_shape_cv

SHAPE_CV (class level)

lsm_c_shape_mn

SHAPE_MN (class level)

lsm_c_shape_sd

SHAPE_SD (class level)

options_landscapemetrics

options_landscapemetrics

lsm_c_split

SPLIT (class level)

lsm_c_tca

TCA (class level)

lsm_c_te

TE (class level)

lsm_l_ai

AI (landscape level)

lsm_l_area_cv

AREA_CV (landscape level)

lsm_l_area_mn

AREA_MN (landscape level)

lsm_l_area_sd

AREA_SD (landscape level)

lsm_l_cai_cv

CAI_CV (landscape level)

pad_raster

pad_raster

lsm_l_cai_mn

CAI_MN (landscape level)

lsm_l_cai_sd

CAI_SD (landscape level)

lsm_l_circle_cv

CIRCLE_CV (landscape level)

lsm_l_circle_mn

CIRCLE_MN (landscape level)

lsm_l_circle_sd

CIRCLE_SD (landscape level)

points_as_mat

points_as_mat

lsm_l_cohesion

COHESION (landscape level)

lsm_l_condent

Conditional entropy (landscape level)

lsm_l_contag

CONTAG (landscape level)

lsm_l_contig_cv

CONTIG_CV (landscape level)

lsm_l_contig_mn

CONTIG_MN (landscape level)

lsm_l_contig_sd

CONTIG_SD (landscape level)

lsm_l_core_cv

CORE_CV (landscape level)

lsm_l_core_mn

CORE_MN (landscape level)

lsm_l_core_sd

CORE_SD (landscape level)

lsm_l_dcad

DCAD (landscape level)

lsm_l_dcore_cv

DCORE_CV (landscape level)

lsm_l_dcore_mn

DCORE_MN (landscape level)

lsm_l_dcore_sd

DCORE_SD (landscape level)

lsm_l_division

DIVISION (landscape level)

lsm_l_ed

ED (landscape level)

lsm_l_enn_cv

ENN_CV (landscape level)

lsm_l_enn_mn

ENN_MN (landscape level)

lsm_l_enn_sd

ENN_SD (landscape level)

lsm_l_frac_cv

FRAC_CV (landscape level)

lsm_l_frac_mn

FRAC_MN (landscape level)

lsm_l_frac_sd

FRAC_SD (landscape level)

lsm_l_gyrate_cv

GYRATE_CV (landscape level)

lsm_l_gyrate_mn

GYRATE_MN (landscape level)

lsm_l_gyrate_sd

GYRATE_SD (landscape level)

lsm_l_iji

Interspersion and Juxtaposition index (landscape level)

lsm_l_joinent

JOINENT (landscape level)

lsm_l_lpi

LPI (landscape level)

lsm_l_lsi

LSI (landscape level)

lsm_l_mesh

MESH (landscape level)

lsm_l_msidi

MSIDI (landscape level)

lsm_l_msiei

MSIEI (landscape level)

lsm_l_mutinf

MUTINF (landscape level)

lsm_l_ndca

NDCA (landscape level)

lsm_l_para_cv

PARA_CV (landscape level)

lsm_l_para_mn

PARA_MN (landscape level)

lsm_l_para_sd

PARA_SD (landscape level)

lsm_l_pd

PD (landscape level)

lsm_l_pladj

PLADJ (landscape level)

lsm_l_pr

PR (landscape level)

lsm_l_prd

PRD (landscape level)

lsm_l_relmutinf

RELMUTINF (landscape level)

lsm_l_rpr

RPD (landscape level)

lsm_l_shape_cv

SHAPE_CV (landscape level)

lsm_l_shape_mn

SHAPE_MN (landscape level)

lsm_l_shape_sd

SHAPE_SD (landscape level)

lsm_l_shdi

SHDI (landscape level)

prepare_extras

prepare_extras

lsm_l_shei

SHEI (landscape level)

lsm_l_sidi

SIDI (landscape level)

lsm_l_siei

SIEI (landscape level)

lsm_l_split

SPLIT (landscape level)

lsm_l_ta

TA (landscape level)

lsm_l_tca

TCA (landscape level)

lsm_l_te

TE (landscape level)

lsm_p_area

AREA (patch level)

lsm_p_cai

CAI (patch level)

lsm_p_circle

CIRCLE (patch level)

lsm_p_contig

CONTIG (patch level)

lsm_p_core

CORE (patch level)

lsm_p_enn

ENN (patch level)

lsm_p_frac

FRAC (patch level)

proj_info

proj_info

lsm_p_gyrate

GYRATE (patch level)

lsm_p_ncore

NCORE (patch level)

lsm_p_para

PARA (patch level)

lsm_p_perim

PERIM (patch level)

lsm_p_shape

SHAPE (patch level)

sample_lsm

sample_lsm

show_cores

Show core area

show_correlation

Show correlation

show_lsm

Show landscape metrics

show_patches

Show patches

spatialize_lsm

spatialize_lsm

unpad_raster

unpad_raster

window_lsm

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.

  • Maintainer: Maximilian H.K. Hesselbarth
  • License: GPL-3
  • Last published: 2024-07-22