Type: Package Package: lacunaritycovariance Title: Gliding Box Lacunarity and Other Metrics for 2D Random Closed Sets Version: 1.1-9 Date: 2025-08-29 Authors@R: person(given = c("Kassel", "Liam"), family = "Hingee", role = c("aut", "cre"), email = "kassel.hingee@gmail.com") Maintainer: Kassel Liam Hingee Description: Functions for estimating the gliding box lacunarity (GBL), covariance, and pair-correlation of a random closed set (RACS) in 2D from a binary coverage map (e.g. presence-absence land cover maps). Contains a number of newly-developed covariance-based estimators of GBL (Hingee et al., 2019) and balanced estimators, proposed by Picka (2000) , for covariance, centred covariance, and pair-correlation. Also contains methods for estimating contagion-like properties of RACS and simulating 2D Boolean models. Binary coverage maps are usually represented as raster images with pixel values of TRUE, FALSE or NA, with NA representing unobserved pixels. A demo for extracting such a binary map from a geospatial data format is provided. Binary maps may also be represented using polygonal sets as the foreground, however for most computations such maps are converted into raster images. The package is based on research conducted during the author's PhD studies. License: GPL (>= 2) URL: https://github.com/kasselhingee/lacunaritycovariance Depends: spatstat (>= 2.0-0) Imports: RcppRoll, spatstat.explore (>= 3.0-3), spatstat.geom, spatstat.random Suggests: cubature, sf, terra, testthat ByteCompile: true Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.2 Repository: https://kasselhingee.r-universe.dev Date/Publication: 2025-08-29 05:30:26 UTC RemoteUrl: https://github.com/kasselhingee/lacunaritycovariance RemoteRef: HEAD RemoteSha: 0e3653a9a09e4b2e557d3f0fe233b6c674a34aa1 NeedsCompilation: no Packaged: 2026-07-03 17:05:45 UTC; root Author: Kassel Liam Hingee [aut, cre]