Reconstruct the marginal variance covariance matrix from a nlme model.
.getVarCov2(object, ...)# S3 method for gls
.getVarCov2(object, param, attr.param, name.endogenous,
n.endogenous, ref.group, ...)
# S3 method for lme
.getVarCov2(object, param, attr.param, ...)
a gls
or lme
object
[internal] Only used by the generic method.
[numeric vector] the mean and variance coefficients.
[character vector] the type of each coefficients (mean or variance).
[character vector] name of each repetition of the endogenous variable.
[integer >0] number of repetitions of the endogenous variable.
[character vector] the levels of the variable defining the variance component in a generic covariance matrix.
[matrix] the marginal variance covariance matrix for a full sample.