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 x
includes an "modelVariog"
attribute, the corresponding semi-variogram is added to the plot.
Usage
## S3 method for class 'Variogram' plot(x, smooth, showModel, sigma, span, xlab, ylab, type, ylim, grid, ...)
Arguments
x | an object inheriting from class |
smooth | an optional logical value controlling whether a |
showModel | an optional logical value controlling whether the semi-variogram corresponding to an |
sigma | an optional numeric value used as the height of a horizontal line displayed in the plot. Can be used to represent the process standard deviation. Default is |
span | an optional numeric value with the smoothing parameter for the |
xlab,ylab | optional character strings with the x- and y-axis labels. Default respectively to |
type | an optional character indicating the type of plot. Defaults to |
ylim | an optional numeric vector with the limits for the y-axis. Defaults to |
grid | an optional logical value indicating whether a grid should be added to plot. Default is |
... | optional arguments passed to the Trellis |
Value
an xyplot
Trellis plot.
Author(s)
José Pinheiro and Douglas Bates [email protected]
See Also
Examples
fm1 <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary) plot(Variogram(fm1, form = ~ Time | Mare, maxDist = 0.7))
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.