plot.vario: Plot 'vario' objects

Description Usage Arguments Author(s) Examples

Description

Plot vario objects

Usage

1
2
3
4
5
## S3 method for class 'vario'
 plot(x, xlab = "Lag distance", ylab = NULL, ylim = NULL,
                      xtype = c("mean.bin.dist", "bins"), rug = FALSE, ci = FALSE,
                      pch = 21, col.sig="black", col.nonsig="black", bg.sig="black", 
                      bg.nonsig = "white", alpha = 0.05, ...)

Arguments

x

vario object generated by vario function.

xlab

xlabel of the figure. Default is "Lag distance"

ylab

ylabel of the figure. Default is NULL and will automatically generate the right label

ylim

y-range. Default is NULL and will automatically generate the best range based on the metric

xtype

Use either the discrete bin classes (bins) or the mean distance of the points within each bin (mean.bin.dist) on the x-axis. Default is mean.bin.dist

rug

Plot rug indicating the density of data points? Default is FALSE

ci

Plot two-tailed (1-α)% confidence intervals? Default is FALSE

pch

Type of points to use when plotting the variogram. Default is 21

col.sig

Border color of points for significant values. Default is black

col.nonsig

Border color of points for non-significant values. Default is black

bg.sig

Background color of points for significant values. Default is black

bg.nonsig

Background color of points for non-significant values. Default is black

alpha

Significance level. Default is 0.05

...

other graphical parameters.

Author(s)

Tarik C. Gouhier (tarik.gouhier@gmail.com)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(pisco.data)
d=subset(pisco.data, subset=year==2000, select=c("latitude", "longitude", "sst"))
semiv=vario(data=d)
moran=vario(data=d, type="moran", nrand=100)
geary=vario(data=d, type="geary", nrand=100)

par(mfrow=c(3,1))
plot(semiv)
plot(moran, bg.sig="blue")
plot(geary, bg.sig="red")

synchrony documentation built on March 26, 2020, 7:14 p.m.