## S3 method for class 'listof':
plot(x, \dots, main, arrange=TRUE,
nrows=NULL, ncols=NULL, main.panel=NULL, mar.panel=c(2,1,1,2),
panel.begin=NULL, panel.end=NULL, panel.args=NULL)
"listof"
.
Essentially a list of objects.plot
when generating each
plot panel.arrange=TRUE
)
or plot them individually in a succession of frames
(arrange=FALSE
).arrange=TRUE
).
You can specify either or both of these numbers.mar
controlling the size
of the margins outside each plot panel.
See the help file for par
.plot
method for the class "listof"
. An object of class "listof"
(defined in the base R package) represents
a list of objects, all belonging to a common class.
The base R package defines a method for printing these objects,
print.listof
, but does not define a method for plot
.
So here we have provided a method for plot
.
In the density.splitppp
produces an object of
class "listof"
, essentially a list of pixel images.
These images can be plotted in a nice arrangement
using plot.listof
. See the Example.
print.listof
,
density.splitppp
# Multitype point pattern
data(amacrine)
plot(density(split(amacrine)))
Run the code above in your browser using DataLab