"plot"(x, ..., add = FALSE, entries = as.vector(t(as.table(x))), dx = 0, dy = 0, show.tiles = TRUE, textargs = list())
"quadratcount"
produced by the function quadratcount
.
plot.tess
to plot the quadrats.
text.default
to control the annotation.
"quadratcount"
that are
produced by the function quadratcount
.
Given a spatial point pattern, quadratcount
divides the observation window into disjoint tiles or quadrats,
counts the number of points in each quadrat, and stores the
result as a contingency table which also belongs to the
class "quadratcount"
. First the quadrats are plotted
(provided show.tiles=TRUE
, the default).
This display can be controlled by passing additional arguments ...
to plot.tess
.
Then the quadrat counts are printed using
text.default
. This display can be controlled
using the arguments dx,dy
and textargs
.
quadratcount
,
plot.tess
,
text.default
,
plot.quadrattest
.
plot(quadratcount(swedishpines, 5))
Run the code above in your browser using DataLab