methods.funxy
From spatstat v1.41-1
by Adrian Baddeley
Methods for Spatial Functions
Methods for objects of the class "funxy"
.
Usage
## S3 method for class 'funxy':
contour(x, \dots)
## S3 method for class 'funxy':
persp(x, \dots)
## S3 method for class 'funxy':
plot(x, \dots)
Arguments
- x
- Object of class
"funxy"
representing a function of $x,y$ coordinates. - ...
- Named arguments controlling the plot. See Details.
Details
These are methods for the generic functions
plot
,
contour
and persp
for the class "funxy"
of spatial functions.
Objects of class "funxy"
are created, for example,
by the commands distfun
and funxy
.
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.
Value
NULL
.
See Also
funxy
,
distfun
,
as.im
,
plot.im
,
persp.im
,
contour.im
,
spatstat.options
Examples
data(letterR)
f <- distfun(letterR)
contour(f)
contour(f, W=owin(c(1,5),c(-1,4)), eps=0.1)
Community examples
Looks like there are no examples yet.