plot.NSconvo: Plot from the nonstationary model.

Description Usage Arguments Value Examples

View source: R/convoSPAT_summplot.R

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

1
2
3
4
5
## 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 (TRUE) or estiamted correlations (FALSE).

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 all.pred.locs are on a rectangular grid (TRUE) or not (FALSE).

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 (TRUE) or not (FALSE).

...

Other options passed to plot.

Value

A plot of either the estimated ellipses or estimated correlation is printed.

Examples

1
2
3
4
## Not run: 
plot.NSconvo( NSconvo.object )

## End(Not run)

markdrisser/convoSPAT documentation built on May 21, 2019, 11:48 a.m.