plot.NSconvo {convoSPAT} | R Documentation |
Plot from the nonstationary model.
Description
This function plots either the estimated anisotropy ellipses for each of the mixture component locations or the estimated correlation between a reference point and all other prediction locations.
Usage
## S3 method for class 'NSconvo'
plot(
x,
plot.ellipses = TRUE,
fit.radius = NULL,
aniso.mat = NULL,
true.mc = NULL,
ref.loc = NULL,
all.pred.locs = NULL,
grid = TRUE,
true.col = 1,
aniso.col = 4,
ns.col = 2,
plot.mc.locs = TRUE,
...
)
Arguments
x |
A "NSconvo" object, from NSconvo_fit(). |
plot.ellipses |
Logical; indicates whether the estimated
ellipses should be plotted ( |
fit.radius |
Scalar; defines the fit radius used for the local likelihood estimation. |
aniso.mat |
2 x 2 matrix; contains the estimated anisotropy ellipse from the stationary model (for comparison). |
true.mc |
The true mixture component ellipses, if known. |
ref.loc |
Vector of length 2; the reference location. |
all.pred.locs |
A matrix of all prediction locations. |
grid |
Logical; indicates if the |
true.col |
Color value for the true mixture component ellipses (if plotted). |
aniso.col |
Color value for the anisotropy ellipse (if plotted). |
ns.col |
Color value for the mixture component ellipses. |
plot.mc.locs |
Logical; indicates whether the mixture
component locations should be plotted ( |
... |
Other options passed to |
Value
A plot of either the estimated ellipses or estimated correlation is printed.
Examples
## Not run:
plot.NSconvo( NSconvo.object )
## End(Not run)