Plot a Correlogram
These functions plot correlagrams previously computed with
## S3 method for class 'correlogram': plot(x, legend = TRUE, test.level = 0.05, col = c("grey", "red"), type = "b", xlab = "", ylab = "Moran's I", pch = 21, cex = 2, ...) ## S3 method for class 'correlogramList': plot(x, lattice = TRUE, legend = TRUE, test.level = 0.05, col = c("grey", "red"), xlab = "", ylab = "Moran's I", type = "b", pch = 21, cex = 2, ...)
- an object of class
"correlogram"or of class
"correlogramList"(both produced by
- should a legend be added on the plot?
- the level used to discriminate the plotting symbols with colours considering the P-values.
- two colours for the plotting symbols: the first one is used
if the P-value is greater than or equal to
test.level, the second one otherwise.
- the type of plot to produce (see
plotfor possible choices).
- an optional character string for the label on the x-axis (none by default).
- the default label on the y-axis.
- the type of plotting symbol.
- the default size for the plotting symbols.
- when plotting several correlograms, should they be plotted in trellis-style with lattice (the default), or together on the same plot?
- other parameters passed to the
When plotting several correlograms with lattice, some options have no
always used in this situation).
pch between 1 and 20 (i.e., non-filled symbols, the
colours specified in
col are also used for the lines joining
the points. To keep black lines, it is better to leave
between 21 and 25.