Usage
## S3 method for class 'geodata':
plot(x, coords=x$coords, data = x$data,
borders, trend="cte", lambda = 1, col.data = 1,
weights.divide = "units.m", lowess = FALSE, scatter3d = FALSE,
density = TRUE, rug = TRUE, qt.col, \dots)Arguments
x
a list containing elements coords and
data described next. Typically an object of the class
"geodata" - a geoR data-set. If not provided the arguments
coords and data coords
an $n \times 2$ matrix containing in each row Euclidean
coordinates of the n data locations. By default it takes the
element coords of the argument geodata.
data
a vector with data values. By default it takes the
element data of the argument geodata.
borders
If an $n \times 2$ 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:
"cte" (constant mean - default option), "1st" (a first order polynomial
on the coordinates), "2nd" (a second order polynomial
on the coordinates), or
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 data is a matrix.
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 units.m in the
data object, if present, otherwise
lowess
logical. Indicates whether the function
lowess should be used in the plots of the data against
the coordinates. scatter3d
logical. If TRUE the last plot is
produced by
scatterplot3d showing
a 3d plot with data locations and corresponding values. density
logical. If TRUE (default) a line with density
estimation is added to the histogram.
rug
logical. If TRUE a rug plot is added to the
histogram.
qt.col
colors for the quartiles in the first plot. If missing
defaults to blue, green, yellow and red.