Learn R Programming

spatstat.explore (version 3.5-2)

rectcontact: Contact Distribution Function using Rectangular Structuring Element

Description

Computes an estimate of the contact distribution function of a set, using a rectangular structuring element.

Usage

rectcontact(X, ..., asp = 1, npasses=4,
            eps = NULL, r = NULL, breaks = NULL, correction = c("rs", "km"))

Arguments

Value

Object of class "fv".

Details

To be written.

See Also

Hest

Examples

Run this code
  ## make an image which is TRUE/FALSE inside/outside the letter R
  V <- letterR
  Frame(V) <- grow.rectangle(Frame(V), 0.5)
  Z <- as.im(V, value=TRUE, na.replace=FALSE)
  ## analyse
  plot(rectcontact(Z))

Run the code above in your browser using DataLab