splomPlot | R Documentation |
Produces a matrix of scatter plots
splomPlot(x, layout, Plot = list(name = "", what = "points", type = "solid", width = "standard", symbol = "circle", filled = TRUE, size = 0.05, color = "black"), Panel = list(), axis.log = FALSE, axis.range = c(NA, NA), labels = 5, caption = "")
x |
the data to plot, must be either a matrix or a data frame. |
layout |
the output from |
Plot |
parameters defining the characteristics of the plot. See
|
Panel |
a list or a function, see Details. |
axis.log |
log-transform the x and y axis for all plots. |
axis.range |
set x- and y-axis ranges for all plots. |
labels |
set the number of labels for both the x and y axes. See
|
caption |
the figure caption. |
Panel
may be a tagged list, with any one of these options:
loess=span, where span is the span argument to loess.smooth;
line=opt,
where opt='slr' for simple linear regression, or 'loc' for line of organic
correlation, or '1:1' for the 1:1 line.
The format of the lines is taken
from Plot
.
Panel
may also be a function with 3
arguments, x, y, and current, that adds to the plot and returns updated plot
information. The function is called for each individual plot.
Information about the graph.
A call must be made to setPage
and to setSplom
to set up
the graphics environment before calling splomPlot
.
setPage
, setSplom
## Not run: # See for examples of splomPlot: vignette(topic="LineScatter", package="smwrGraphs") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.