object
.## S3 method for class 'corStruct':
getCovariate(object, form, data)
object
. If a grouping factor is present, the
returned value will be a list of vectors or matrices with the
covariate(s) corresponding to each grouping level.getCovariate
cs1 <- corAR1(form = ~ 1 | Subject)
getCovariate(cs1, data = Orthodont)
Run the code above in your browser using DataLab