"density"(x, ..., se=FALSE)
"density"(x, ..., se=FALSE)
"splitppp"
created by split.ppp
) to be smoothed.
Alternatively a list of point patterns,
of class "ppplist"
.
density.ppp
to control
the smoothing, pixel resolution, edge correction etc.
"im"
)
which can be plotted or printed;
or a list of numeric vectors giving the values at specified points.If se=TRUE
, the result is a list with two elements named
estimate
and SE
, each of the format described above.
density
. The argument x
should be a list of point patterns,
and should belong to one of the classes
"ppplist"
or "splitppp"
.
Typically x
is obtained by applying
the function split.ppp
to a point pattern y
by calling split(y)
. This splits the points of y
into several
sub-patterns.
A kernel estimate of the intensity function of each of the
point patterns is computed using density.ppp
.
The return value is usually a list, each of whose entries is a
pixel image (object of class "im"
). The return value
also belongs to the class "solist"
and can be plotted
or printed.
If the argument at="points"
is given, the result is a list
of numeric vectors giving the intensity values at the data points.
If se=TRUE
, the result is a list with two elements named
estimate
and SE
, each of the format described above.
ppp.object
,
im.object
Z <- density(split(amacrine), 0.05)
plot(Z)
Run the code above in your browser using DataLab