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

224

Version

1.1-7

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Kassel Hingee

Last Published

November 2nd, 2023

Functions in lacunaritycovariance (1.1-7)

rbdd

Simulation of Boolean Model of Deterministic Discs
innerprod.im

Inner Product of Two Functions Represented as Images
isbinarymap

Test if an im object is a binary map
racscovariance

Covariance Estimation
placegrainsfromlib

Place grains randomly on a point pattern
plugincvc

Plug-in moment covariance estimator
secondorderprops

Estimate Second-Order Properties of a RACS
paircorr

Balanced estimation of pair-correlation.
lacunaritycovariance-package

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

Simulate Boolean Model with Grains Scaled According to a Truncated Pareto Distribution
summary.imlist

Pointwise summary of a list of im objects
rbdr

Simulation of Boolean Model of Deterministic Rectangles
rblnd

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

Pixel Adjacency Contagion
gblcc

Centred covariance based estimates of gliding box lacunarity
gbl

Gliding box lacunarity estimation using all estimators
cppicka

Picka's Reduced Window Estimator of Coverage Probability
gblemp

Empirical Gliding Box Lacunarity
gblg

Pair-correlation based estimates of gliding box lacunarity
gblc

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

Estimate the coverage probability of a stationary RACS
contagdiscstate

Disc State Contagion
cencovariance

Centred covariance estimation