Learn R Programming

sgeostat (version 1.0-27)

plot.variogram: Plot Variogram

Description

Plot empirical variogram estimates, optionally plotting a fitted variogram model.

Usage

"plot"(x, var.mod.obj, title.str,ylim, type='c',N=FALSE, ...)

Arguments

x
a variogram object generated by est.variogram()
var.mod.obj
a variogram model object generated by a model fitting routine.
title.str
optional: an user supplied plot title
type
optional: which type of variogram model to plot, 'c' = classical, 'r' = robust, 'm' median
N
logical, toggles printing of absolute pair counts per lag
ylim
optonal user supplied y dimension for the plot
...
additional arguments for plot

Value

References

http://www.gis.iastate.edu/SGeoStat/homepage.html

See Also

est.variogram

Examples

Run this code

# two plots 
oldpar <- par(mfrow=c(2,1))
plot(maas.v) 
plot(maas.v,var.mod.obj=maas.vmod)
par(oldpar)

Run the code above in your browser using DataLab