Type: Package
Package: ShapePattern
Title: Tools for Analyzing Shapes and Patterns
Version: 3.1.0
Authors@R: c(
  person("Tarmo K.", "Remmel", email = "remmelt@yorku.ca", role = c("aut", "cre"), comment = c(ORCID = "0000-0001-6251-876X")),
  person("Marie-Josee", "Fortin", role = "ctb"),
  person("Ferenc", "Csillag", role = "ctb"), 
  person("Sandor", "Kabos", role = "ctb"))
Maintainer: Tarmo K. Remmel <remmelt@yorku.ca>
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.
License: GPL-3
LazyData: true
LazyDataCompression: xz
Depends: R (>= 4.3.0), sp, igraph, terra
Imports: landscapemetrics, raster
NeedsCompilation: no
Packaged: 2024-12-10 04:16:36 UTC; tarmo
Author: Tarmo K. Remmel [aut, cre] (<https://orcid.org/0000-0001-6251-876X>),
  Marie-Josee Fortin [ctb],
  Ferenc Csillag [ctb],
  Sandor Kabos [ctb]
Repository: CRAN
Date/Publication: 2024-12-10 04:40:01 UTC
Built: R 4.6.0; ; 2026-04-28 21:15:25 UTC; unix
