Learn R Programming

lacunaritycovariance

Author: Kassel Liam Hingee

This directory contains the source code of the R package lacunaritycovariance. This R package is for estimating gliding box lacunarity and other random closed set properties from binary coverage maps (images composed of binary-valued pixels).

Table of Contents

Installation

Manual pages

Git repository branches

Installation

From GitHub using remotes package

From inside an R interactive session run:

library(remotes)
install_github("kasselhingee/lacunaritycovariance", ref = "release")

From .tar.gz file

Inside an R session run

install.packages("<PATH>", repos = NULL, type = "source")

where <PATH> is the path to a .tar.gz file containing the contents of this repository.

Install from source code not in .tar.gz form

First run the following to build a .tar.gz file.

R CMD build --compact-vignettes=gs+qpdf . 

This should create a file lacunaritycovariance-<VERSION>.tar.gz. Where <VERSION> is a string on numbers separated by periods and hyphens, for example 1.0-0. Then run

R CMD INSTALL lacunaritycovariance-<VERSION>.tar.gz

Manual pages

The manual pages for each function (in man/) and the file NAMESPACE have been generated using roxygen2. To edit these, edit the specially formatted comments in the files in the directory R/, then regenerate the manual pages and NAMESPACE function by running roxygen2::roxygenise() from an R session with the working directory at the root of the package directory.

Git repository branches

It is intended that the release branch is consistent with the package available on CRAN (except for brief periods whilst the new versions are submitted to CRAN and awaiting approval). Editing of the package should occur in either the master branch or other branches.

Copy Link

Version

Install

install.packages('lacunaritycovariance')

Monthly Downloads

261

Version

1.1-9

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Kassel Hingee

Last Published

August 29th, 2025

Functions in lacunaritycovariance (1.1-9)

innerprod.im

Inner Product of Two Functions Represented as Images
racscovariance

Covariance Estimation
isbinarymap

Test if an im object is a binary map
rblnd

Simulate a Boolean model of discs with log normal disc radii
rbdd

Simulation of Boolean Model of Deterministic Discs
plugincvc

Plug-in moment covariance estimator
placegrainsfromlib

Place grains randomly on a point pattern
rbdr

Simulation of Boolean Model of Deterministic Rectangles
lacunaritycovariance-package

lacunaritycovariance: Gliding Box Lacunarity and Other Metrics for 2D Random Closed Sets
secondorderprops

Estimate Second-Order Properties of a RACS
summary.imlist

Pointwise summary of a list of im objects
paircorr

Balanced estimation of pair-correlation.
rbpto

Simulate Boolean Model with Grains Scaled According to a Truncated Pareto Distribution
gbl

Gliding box lacunarity estimation using all estimators
contagdiscstate

Disc State Contagion
coverageprob

Estimate the coverage probability of a stationary RACS
contagpixelgrid

Pixel Adjacency Contagion
gblg

Pair-correlation based estimates of gliding box lacunarity
gblemp

Empirical Gliding Box Lacunarity
gblc

Gliding box lacunarity estimator using plug-in moment covariance estimator
gblcc

Centred covariance based estimates of gliding box lacunarity
cppicka

Picka's Reduced Window Estimator of Coverage Probability
cencovariance

Centred covariance estimation