Description Usage Arguments Value Author(s) References See Also Examples
This function produces a 2 x 2 display with the following plots: the first indicates the spatial locations assign different colors to data in different quartiles, the next two shows data against the X and Y coordinates and the last is an histogram of the data values or optionally, a 3-D plot with spatial locations and associated data values.
1 2 3 4 5 |
x |
a list containing elements |
coords |
an n x 2 matrix containing in each row Euclidean
coordinates of the n data locations. By default it takes the
element |
data |
a vector with data values. By default it takes the
element |
borders |
If an nx2 matrix or data-frame with the borders of the area is provided, the borders are included in the first plot. By default it searches for a element named "borders" in the geodata object. |
trend |
specifies the mean part of the model. The options are:
|
lambda |
value of the Box-Cox transformation parameter. Two particular cases are lambda = 1 which corresponds to no transformation and lambda = 0 corresponding to the log-transformation. |
col.data |
indicates the column number for the data
to be plotted. Only valid if more than one data-set is available
i.e., if the argument |
weights.divide |
if a vector of weights with the same length as
the data is provided each data is
divided by the corresponding element in this vector.
Defaults divides the data by the element |
lowess |
logical. Indicates whether the function
|
scatter3d |
logical. If |
density |
logical. If |
rug |
logical. If |
qt.col |
colors for the quartiles in the first plot. If missing defaults to blue, green, yellow and red. |
... |
further arguments to be passed to the function
|
A plot is produced on the graphics device. No values are returned.
Paulo J. Ribeiro Jr. paulojus@leg.ufpr.br,
Peter J. Diggle p.diggle@lancaster.ac.uk.
Further information on the package geoR can be found at:
http://www.leg.ufpr.br/geoR.
points.geodata
,
scatterplot3d
, lowess
,
density
, rug
.
1 2 3 4 5 6 7 8 9 10 11 | require(geoR)
plot(s100)
plot(s100, scatter3d=TRUE)
plot(s100, qt.col=1)
plot(ca20, bor=borders) # original data
plot(ca20, trend=~altitude+area) # residuals from an external trend
plot(ca20, trend='1st') # residuals from a polynomial trend
plot(sic.100, bor=sic.borders) # original data
plot(sic.100, bor=sic.borders, lambda=0) # logarithm of the data
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.