Description Usage Arguments Value Note
Function that produces a simple ggplot
.
1 2 3 4 |
data |
input dataset containing coordinates (columns 1 and 2) and response data (column three). |
knots |
optional matrix of locations for knots. |
show.knots |
logical, whether the knots should be plotted. |
panel.plot |
logical, determines whether to produce a single figure or a paneled plot. |
panel1 |
optional, grouping factor for first paneling level. |
panel2 |
optional, grouping factor for second paneling level. |
cex |
optional, the size of the plotted points. |
cex.knot |
optional, the size of the knot locations. |
xlim |
optional, the limits of the x-coordinate. |
ylim |
optional, the limits of the y-coordinate. |
x.ticks |
optional, the placement of tick marks on the the x-axis. |
y.ticks |
optional, the placement of tick marks for the the y-axis. |
alpha |
the alpha scaling factor for geom_point. |
col.map |
the colormap for the plot, current options are "ylgn" (yellow-green) or "terrain.colors". |
... |
space for additional arguments. |
A figure produced with ggplot.
This is a glorified wrapper for ggplot. It is unlikely to be useful in all circumstances, but often provides a reasonable map, especially for simulated examples using the simulation tools in RRSM, or other datasets on an approximatly square domain.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.