domain.quadrattest: Extract the Domain of any Spatial Object

domain.quadrattestR Documentation

Extract the Domain of any Spatial Object

Description

Given a spatial object such as a point pattern, in any number of dimensions, this function extracts the spatial domain in which the object is defined.

Usage



 ## S3 method for class 'quadrattest'
domain(X, ...)



Arguments

X

A spatial object such as a point pattern (in any number of dimensions), line segment pattern or pixel image.

...

Extra arguments. They are ignored by all the methods listed here.

Details

The function domain is generic.

For a spatial object X in any number of dimensions, domain(X) extracts the spatial domain in which X is defined.

For a two-dimensional object X, typically domain(X) is the same as Window(X).

Exceptions occur for methods related to linear networks.

Value

A spatial object representing the domain of X. Typically a window (object of class "owin"), a three-dimensional box ("box3"), a multidimensional box ("boxx") or a linear network ("linnet").

Author(s)

\spatstatAuthors

.

See Also

domain, domain.quadratcount, domain.ppm, domain.rmhmodel, domain.lpp. Window, Frame.

Examples

  domain(quadrat.test(redwood, 2, 2))

spatstat.explore documentation built on Oct. 22, 2024, 9:07 a.m.