| methods.distfun {spatstat} | R Documentation |
Methods for objects of the class "distfun".
## S3 method for class 'distfun' contour(x, ...) ## S3 method for class 'distfun' persp(x, ...) ## S3 method for class 'distfun' plot(x, ...) ## S3 method for class 'distfun' print(x, ...)
x |
Object of class |
... |
Named arguments controlling the plot. See Details. |
These are methods for the generic functions
print,
plot,
contour
and persp
for the class "distfun" of distance functions.
See distfun for explanation about this class.
The print method prints a description of the domain of the
distance function and the spatial object of which it is the distance
function. Any additional arguments ... are ignored.
The plot, contour and persp methods first convert
x to a pixel image object using as.im,
then display it using plot.im, contour.im or
persp.im.
Additional arguments ... are either
passed to as.im.function to
control the spatial resolution of the pixel image, or passed to
contour.im,
persp.im or
plot.im to control the appearance of the plot.
NULL.
Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner r.turner@auckland.ac.nz
distfun,
as.im,
plot.im,
persp.im,
contour.im,
spatstat.options
data(letterR) f <- distfun(letterR) contour(f) contour(f, W=owin(c(1,5),c(-1,4)), eps=0.1)