scattersplot | R Documentation |
Draws (in a 2 by 2 layout) the following plots: a scatter plot with a color scale, the scatter plots of the response against the (first two) coordinates and the histogram of the response values.
scattersplot(x, ...)
## Default S3 method:
scattersplot(
x,
z,
main,
xlab,
ylab,
zlab,
col = hot.colors(128),
lowess = TRUE,
density = FALSE,
omd = c(0.05, 0.95, 0.01, 0.95),
...
)
## S3 method for class 'SpatialPointsDataFrame'
scattersplot(
x,
data.ind = 1,
main,
xlab,
ylab,
zlab,
col = hot.colors(128),
lowess = TRUE,
density = FALSE,
omd = c(0.05, 0.95, 0.01, 0.95),
...
)
x |
object used to select a method. |
... |
additional graphical parameters (to be passed to |
z |
vector of data (response variable). |
main |
an overall title for the plot. |
xlab |
a title for the axis corresponding to the first coordinate. |
ylab |
a title for the axis corresponding to the second coordinate. |
zlab |
a title for the axis corresponding to the response. |
col |
color table used to set up the color scale (see |
lowess |
logical. If |
density |
logical. If |
omd |
a vector of the form |
data.ind |
integer (or character) with the index (or name) of the data component. |
Standard generic function with a default method, in which argument x
is a matrix with the spatial coordinates (each row is a point).
scattersplot.SpatialPointsDataFrame
sets default values for some of the arguments
from attributes of the object x
(if present; see e.g. precipitation
).
No return value, called for side effects (generate the plot).
splot
, spoints
, lowess
,
density
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.