plot.variofit {synchrony}R Documentation

Plot variofit objects

Description

Plot variofit objects

Usage

## S3 method for class 'variofit'
 plot(x, xlab = "Lag distance", ylab = "Variogram",
                         col.pts = "black", col.line = "red", 
                         pch = 21, ...)                      

Arguments

x

variofit object generated by vario.fit function

xlab

xlabel of the figure. Default is "Lag distance"

ylab

ylabel of the figure. Default is "Variogram"

col.pts

Border color of the points. Default is black

col.line

Color of the fitted variogram. Default is red

pch

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

...

other graphical parameters.

Author(s)

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

Examples

# Environmental variogram
data(pisco.data)
d=subset(pisco.data, subset=year==2000, select=c("latitude", "longitude", "upwelling"))
semiv=vario(data=d)
mod.sph=vario.fit(semiv$vario, semiv$mean.bin.dist)
plot(mod.sph)

[Package synchrony version 0.3.8 Index]