ShapePattern: Tools for Analyzing Shapes and Patterns

This is an evolving and growing collection of tools for the quantification, assessment, and comparison of shape and pattern. This collection provides tools for: (1) the spatial decomposition of planar shapes using 'ShrinkShape' to incrementally shrink shapes to extinction while computing area, perimeter, and number of parts at each iteration of shrinking; the spectra of results are returned in graphic and tabular formats (Remmel 2015) <doi:10.1111/cag.12222>, (2) simulating landscape patterns, (3) provision of tools for estimating composition and configuration parameters from a categorical (binary) landscape map (grid) and then simulates a selected number of statistically similar landscapes. Class-focused pattern metrics are computed for each simulated map to produce empirical distributions against which statistical comparisons can be made. The code permits the analysis of single maps or pairs of maps (Remmel and Fortin 2013) <doi:10.1007/s10980-013-9905-x>, (4) counting the number of each first-order pattern element and converting that information into both frequency and empirical probability vectors (Remmel 2020) <doi:10.3390/e22040420>, and (5) computing the porosity of raster patches <doi:10.3390/su10103413>. NOTE: This is a consolidation of existing packages ('PatternClass', 'ShapePattern') to begin warehousing all shape and pattern code in a common package. Additional utility tools for handling data are provided and this package will be added to as more tools are created, cleaned-up, and documented. Note that all future developments will appear in this package and that 'PatternClass' will eventually be archived.

Version: 2.1.0
Depends: R (≥ 3.5.0), sp, igraph
Imports: rgdal, landscapemetrics, rgeos, raster
Published: 2020-04-27
Author: Tarmo K. Remmel ORCID iD [aut, cre], Marie-Josee Fortin [ctb], Ferenc Csillag [ctb], Sandor Kabos [ctb]
Maintainer: Tarmo K. Remmel <remmelt at>
License: GPL-3
NeedsCompilation: no
Materials: NEWS
CRAN checks: ShapePattern results


Reference manual: ShapePattern.pdf


Package source: ShapePattern_2.1.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ShapePattern_2.1.0.tgz, r-release (x86_64): ShapePattern_2.1.0.tgz, r-oldrel: ShapePattern_2.1.0.tgz
Old sources: ShapePattern archive


Please use the canonical form to link to this page.