Rev 251 | Rev 4679 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% $Id: Dim.corSpatial.Rd,v 1.7 2002/03/05 14:59:39 bates Exp $\name{Dim.corSpatial}\title{Dimensions of a corSpatial Object}\usage{\method{Dim}{corSpatial}(object, groups, \dots)}\alias{Dim.corSpatial}\arguments{\item{object}{an object inheriting from class \code{corSpatial},representing a spatial correlation structure.}\item{groups}{an optional factor defining the grouping of theobservations; observations within a group are correlated andobservations in different groups are uncorrelated.}\item{\dots}{further arguments to be passed to or from methods.}}\description{if \code{groups} is missing, it returns the \code{Dim} attribute of\code{object}; otherwise, calculates the dimensions associated withthe grouping factor.}\value{a list with components:\item{N}{length of \code{groups}}\item{M}{number of groups}\item{spClass}{an integer representing the spatial correlation class;0 = user defined class, 1 = \code{corSpher}, 2 = \code{corExp}, 3 =\code{corGaus}, 4 = \code{corLin}}\item{sumLenSq}{sum of the squares of the number of observations pergroup}\item{len}{an integer vector with the number of observations pergroup}\item{start}{an integer vector with the starting position for thedistance vectors in each group, beginning from zero}}\author{Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}}\seealso{\code{\link{Dim}}, \code{\link{Dim.corStruct}}}\examples{Dim(corGaus(), getGroups(Orthodont))}\keyword{models}