Rev 6562 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File nlme/man/Variogram.corSpher.Rd% Part of the nlme package for R% Distributed under GPL 2 or later: see nlme/LICENCE.note\name{Variogram.corSpher}\title{Calculate Semi-variogram for a corSpher Object}\usage{\method{Variogram}{corSpher}(object, distance, sig2, length.out, \dots)}\alias{Variogram.corSpher}\arguments{\item{object}{an object inheriting from class \code{"\link{corSpher}"},representing an Spherical spatial correlation structure.}\item{distance}{an optional numeric vector with the distances atwhich the semi-variogram is to be calculated. Defaults to\code{NULL}, in which case a sequence of length \code{length.out}between the minimum and maximum values of\code{getCovariate(object)} is used.}\item{sig2}{an optional numeric value representing the processvariance. Defaults to \code{1}.}\item{length.out}{an optional integer specifying the length of thesequence of distances to be used for calculating the semi-variogram,when \code{distance = NULL}. Defaults to \code{50}.}\item{\dots}{some methods for this generic require additionalarguments. None are used in this method.}}\description{This method function calculates the semi-variogram valuescorresponding to the Spherical correlation model, using the estimatedcoefficients corresponding to \code{object}, at the distances definedby \code{distance}.}\value{a data frame with columns \code{variog} and \code{dist} representing,respectively, the semi-variogram values and the correspondingdistances. The returned value inherits from class \code{Variogram}.}\references{Cressie, N.A.C. (1993), "Statistics for Spatial Data", J. Wiley & Sons.}\author{José Pinheiro and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{corSpher}},\code{\link{plot.Variogram}},\code{\link{Variogram}}}\examples{cs1 <- corSpher(15, form = ~ Time | Rat)cs1 <- Initialize(cs1, BodyWeight)Variogram(cs1)[1:10,]}\keyword{models}