Rev 6434 | Rev 6563 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/plot.Variogram.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note% $Id: plot.Variogram.Rd,v 1.9.2.1 2003/04/17 22:28:45 bates Exp $\name{plot.Variogram}\title{Plot a Variogram Object}\usage{\method{plot}{Variogram}(x, smooth, showModel, sigma, span, xlab,ylab, type, ylim, grid, \dots)}\alias{plot.Variogram}\arguments{\item{x}{an object inheriting from class \code{Variogram},consisting of a data frame with two columns named \code{variog} and\code{dist}, representing the semi-variogram values and the correspondingdistances.}\item{smooth}{an optional logical value controlling whether a\code{loess} smoother should be added to the plot. Defaults to\code{TRUE}, when \code{showModel} is \code{FALSE}.}\item{showModel}{an optional logical value controlling whether thesemi-variogram corresponding to an \code{"modelVariog"} attribute of\code{x}, if any is present, should be added to theplot. Defaults to \code{TRUE}, when the \code{"modelVariog"}attribute is present.}\item{sigma}{an optional numeric value used as the height of ahorizontal line displayed in the plot. Can be used to represent theprocess standard deviation. Default is \code{NULL}, implying that nohorizontal line is drawn.}\item{span}{an optional numeric value with the smoothing parameter forthe \code{loess} fit. Default is 0.6.}\item{xlab,ylab}{optional character strings with the x- and y-axislabels. Default respectively to \code{"Distance"} and\code{"SemiVariogram"}.}\item{type}{an optional character indicating the type of plot. Defaultsto \code{"p"}.}\item{ylim}{an optional numeric vector with the limits for they-axis. Defaults to \code{c(0, max(x$variog))}.}\item{grid}{an optional logical value indicating whether a grid shouldbe added to plot. Default is \code{FALSE}.}\item{\dots}{optional arguments passed to the Trellis \code{xyplot} function.}}\description{an \code{xyplot} of the semi-variogram versus the distances isproduced. If \code{smooth = TRUE}, a \code{loess} smoother is added tothe plot. If \code{showModel = TRUE} and \code{x} includes an\code{"modelVariog"} attribute, the corresponding semi-variogramis added to the plot.}\value{an \code{xyplot} Trellis plot.}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{Variogram}}, \code{\link{xyplot}}, \code{\link{loess}}}\examples{fm1 <- lme(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary)plot(Variogram(fm1, form = ~ Time | Mare, maxDist = 0.7))}\keyword{models}