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.
domain(X, ...) # S3 method for ppp
domain(X, ...)
# S3 method for psp
domain(X, ...)
# S3 method for im
domain(X, ...)
# S3 method for ppx
domain(X, ...)
# S3 method for pp3
domain(X, ...)
# S3 method for quad
domain(X, ...)
# S3 method for quadratcount
domain(X, ...)
# S3 method for tess
domain(X, ...)
# S3 method for layered
domain(X, ...)
# S3 method for distfun
domain(X, ...)
# S3 method for nnfun
domain(X, ...)
# S3 method for funxy
domain(X, ...)
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"
).
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.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.
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.
domain.ppm
,
domain.quadrattest
,
domain.rmhmodel
,
domain.lpp
.
Window
,
Frame
.
domain(redwood)
domain(bei.extra$elev)
domain(osteo$pts[[1]])
Run the code above in your browser using DataLab