plot.correlogram | R Documentation |
These functions plot correlagrams previously computed with
correlogram.formula
.
## 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, ...)
x |
an object of class |
legend |
should a legend be added on the plot? |
test.level |
the level used to discriminate the plotting symbols with colours considering the P-values. |
col |
two colours for the plotting symbols: the first one is used
if the P-value is greater than or equal to |
type |
the type of plot to produce (see
|
xlab |
an optional character string for the label on the x-axis (none by default). |
ylab |
the default label on the y-axis. |
pch |
the type of plotting symbol. |
cex |
the default size for the plotting symbols. |
lattice |
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
effect: legend
, type
, and pch
(pch=19
is
always used in this situation).
When using 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 pch
between 21 and 25.
Emmanuel Paradis
correlogram.formula
, Moran.I
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.