nlme (version 3.1-86)

Dim.corStruct: Dimensions of a corStruct Object

Description

if groups is missing, it returns the Dim attribute of object; otherwise, calculates the dimensions associated with the grouping factor.

Usage

## S3 method for class 'corStruct':
Dim(object, groups, \dots)

Arguments

Value

a list with components:Nlength of groupsMnumber of groupsmaxLenmaximum number of observations in a groupsumLenSqsum of the squares of the number of observations per grouplenan integer vector with the number of observations per groupstartan integer vector with the starting position for the observations in each group, beginning from zero

See Also

Dim, Dim.corSpatial

Examples

Run this code
Dim(corAR1(), getGroups(Orthodont))

Run the code above in your browser using DataCamp Workspace