Skip to content

ShapePattern

Tools for Analyzing Shapes and Patterns

v3.1.0 · Dec 9, 2024 · GPL-3

Description

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.

Downloads

291

Last 30 days

14123rd

763

Last 90 days

3K

Last year

Trend: +7.8% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies sp igraph terra landscapemetrics raster ShapePattern

Version History

new 3.1.0 Mar 10, 2026
updated 3.1.0 ← 3.0.1 diff Dec 9, 2024
updated 3.0.1 ← 3.0.0 diff Aug 21, 2023
updated 3.0.0 ← 2.2.0 diff Aug 6, 2023
updated 2.2.0 ← 2.1.0 diff Dec 9, 2021
updated 2.1.0 ← 2.0.4 diff Apr 26, 2020
updated 2.0.4 ← 2.0.3 diff Apr 8, 2020
updated 2.0.3 ← 2.0.2 diff Apr 1, 2020
updated 2.0.2 ← 1.0.1 diff Mar 14, 2020
updated 1.0.1 ← 1.0 diff Oct 25, 2016
new 1.0 Apr 26, 2016