Landscape Metrics for Categorical Map Patterns

Calculates landscape metrics for categorical landscape patterns in a tidy workflow. 'landscapemetrics' reimplements the most common metrics from 'FRAGSTATS' (< https://www.umass.edu/landeco/research/fragstats/fragstats.html>) and new ones from the current literature on landscape metrics. This package supports 'raster' spatial objects and takes RasterLayer, RasterStacks, RasterBricks or lists of RasterLayer from the 'raster' package as input arguments. It further provides utility functions to visualize patches, select metrics and building blocks to develop new metrics.


News

landscapemetrics 0.2

  • Unified naming scheme for all auxiliary functions:
    • calculate_metrics is now calculate_lsm
  • Implemented show_cores, a function to plot the core area of patches
  • show_patches now also shows labelled class facets (option what)
  • All plot functions have the same theme
  • Implemented sample_lsm, a function to sample metrics around buffered points
  • Implemented extract_lsm, a function to extract landscape metrics for spatial coordinates
  • Removed all functions from the purrr package and replaced them by lapply
  • Removed all pipes
  • calculate_lsm has the option progress
  • consider_boundary is available for all core metrics
  • The edge_depth can be specified for all core metrics

landscapemetrics 0.1.1

  • Replaced isFALSE() with !isTRUE() to be compatibile to R (> 3.1)
  • Bugfix: lsm_p_core() and lsm_p_ncore() now takes landscape boundary into account
  • Added namespace prefix std::fmod() in get_adjacency.cpp

landscapemetrics 0.1.0

  • First submission to CRAN

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("landscapemetrics")

0.3 by Maximillian H.K. Hesselbarth, a month ago


https://r-spatialecology.github.io/landscapemetrics/


Report a bug at https://github.com/r-spatialecology/landscapemetrics/issues


Browse source code at https://github.com/cran/landscapemetrics


Authors: Maximillian H.K. Hesselbarth [aut, cre] , Marco Sciaini [aut] , Jakub Nowosad [aut] , Sebastian Hanss [aut] , Laura J. Graham [ctb] (Input on package structure) , Jeffrey Hollister [ctb] (Input on package structure) , Kimberly A. With [ctb] (Input on package structure) , Florian Privé [ctb] (Original author of underlying C++ code for get_nearestneighbour() function) , Jeremy VanDerWal [ctb] (Original author of underlying C code for get_patches() function) , Matt Strimas-Mackey [ctb] (Bugfix in sample_metrics())


Documentation:   PDF Manual  


Task views: Analysis of Spatial Data


GPL-3 license


Imports cli, crayon, dplyr, ggplot2, methods, raster, Rcpp, sp, tibble

Suggests covr, testthat, knitr, rmarkdown

Enhances stars, sf

Linking to Rcpp, RcppArmadillo

System requirements: C++11


See at CRAN