Learn R Programming

nlme (version 3.1-10)

plot.Variogram: Plot a Variogram Object

Description

an xyplot of the semi-variogram versus the distances is produced. If smooth = TRUE, a loess smoother is added to the plot. If showModel = TRUE and object includes an "modelVariog" attribute, the corresponding semi-variogram is added to the plot.

Usage

plot(object, smooth, showModel, sigma, span, xlab, ylab, type, ylim, ...)

Arguments

Value

an xyplot Trellis plot.

See Also

Variogram, xyplot, loess

Examples

Run this code
data(Ovary)
fm1 <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary)
plot(Variogram(fm1, form = ~ Time | Mare, maxDist = 0.7))

Run the code above in your browser using DataLab