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.
# S3 method for 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,
...
)
A "NSconvo" object, from NSconvo_fit().
Logical; indicates whether the estimated
ellipses should be plotted (TRUE
) or estiamted correlations
(FALSE
).
Scalar; defines the fit radius used for the local likelihood estimation.
2 x 2 matrix; contains the estimated anisotropy ellipse from the stationary model (for comparison).
The true mixture component ellipses, if known.
Vector of length 2; the reference location.
A matrix of all prediction locations.
Logical; indicates if the all.pred.locs
are on a rectangular grid (TRUE
) or not (FALSE
).
Color value for the true mixture component ellipses (if plotted).
Color value for the anisotropy ellipse (if plotted).
Color value for the mixture component ellipses.
Logical; indicates whether the mixture
component locations should be plotted (TRUE
) or not
(FALSE
).
Other options passed to plot
.
A plot of either the estimated ellipses or estimated correlation is printed.
# NOT RUN {
plot.NSconvo( NSconvo.object )
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab