plot.Variogram {nlme} | R Documentation |
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.
## S3 method for class 'Variogram' plot(x, smooth, showModel, sigma, span, xlab, ylab, type, ylim, grid, ...)
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 |
an xyplot
Trellis plot.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
fm1 <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary) plot(Variogram(fm1, form = ~ Time | Mare, maxDist = 0.7))