plot.msr
From spatstat v1.480
by Adrian Baddeley
Plot a Signed or VectorValued Measure
Plot a signed measure or vectorvalued measure.
Usage
"plot"(x, ..., add=FALSE, how=c("image", "contour", "imagecontour"), main=NULL, do.plot=TRUE, multiplot=TRUE)
Arguments
 x

The signed or vector measure to be plotted.
An object of class
"msr"
(seemsr
).  ...

Extra arguments passed to
Smooth.ppp
to control the interpolation of the continuous density component ofx
, or passed toplot.im
orplot.ppp
to control the appearance of the plot.  add

Logical flag; if
TRUE
, the graphics are added to the existing plot. IfFALSE
(the default) a new plot is initialised.  how
 String indicating how to display the continuous density component.
 main
 String. Main title for the plot.
 do.plot
 Logical value determining whether to actually perform the plotting.
 multiplot
 Logical value indicating whether it is permissible to display a plot with multiple panels (representing different components of a vectorvalued measure, or different types of points in a multitype measure.)
Details
This is the plot
method for the class "msr"
.
The continuous density component of x
is interpolated
from the existing data by Smooth.ppp
,
and then displayed as a colour image by plot.im
.
The discrete atomic component of x
is then superimposed on this
image by plotting the atoms as circles (for positive mass)
or squares (for negative mass) by plot.ppp
.
To smooth both the discrete and continuous components,
use Smooth.msr
.
Use the argument clipwin
to restrict the plot to a subset
of the full data.
Value

(Invisible) colour map (object of class
"colourmap"
) for the
colour image.
See Also
Examples
X < rpoispp(function(x,y) { exp(3+3*x) })
fit < ppm(X, ~x+y)
rp < residuals(fit, type="pearson")
rs < residuals(fit, type="score")
plot(rp)
plot(rs)
plot(rs, how="contour")
Community examples
Looks like there are no examples yet.