coverageprob: Estimate the coverage probability of a stationary RACS

View source: R/coverageprob.R

coverageprobR Documentation

Estimate the coverage probability of a stationary RACS

Description

Computes the proportion of the observation window that is foreground, which is the usual estimate for the coverage probability of a stationary RACS from a binary map.

Usage

coverageprob(xi, obswin = NULL)

coveragefrac(xi, obswin = NULL)

cp(xi, obswin = NULL)

Arguments

xi

An observation of a RACS of interest as a full binary map (as an im object) or as the foreground set (as an owin object). In the latter case the observation window, obswin, must be supplied.

obswin

The window of observation (not necessarily rectangular) also as an owin object.

Details

The coverage probability of a stationary RACS is the probability that an arbitrary point is covered by the RACS. Given a binary map, xi, of a realisation of stationary RACS Ξ in a window W, this function computes the fraction of W covered by foreground, which is an estimate of the coverage probability. See (Chiu et al., 2013, Section 6.4.2) for more details.

If xi is an im object then xi must be an image of 1s, 0s and NAs representing inside the set, outside the set and outside the observation window respectively. coverageprob will not accept a obswin argument if xi is an im object.

Value

An estimate of the coverage probability

Author(s)

Kassel Liam Hingee

References

Chiu, S.N., Stoyan, D., Kendall, W.S. and Mecke, J. (2013) Stochastic Geometry and Its Applications, 3rd ed. Chichester, United Kingdom: John Wiley & Sons.

Examples

xi <- heather$coarse
obswindow <- Frame(heather$coarse)
cp <- coverageprob(xi, obswindow)

lacunaritycovariance documentation built on March 18, 2022, 5:20 p.m.