Last chance! 50% off unlimited learning
Sale ends in
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.
coverageprob(xi, obswin = NULL)coveragefrac(xi, obswin = NULL)
cp(xi, obswin = NULL)
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.
The window of observation (not necessarily rectangular) also as an owin
object.
An estimate of the coverage probability
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
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.
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.
# NOT RUN {
xi <- heather$coarse
obswindow <- Frame(heather$coarse)
cp <- coverageprob(xi, obswindow)
# }
Run the code above in your browser using DataLab