\HeaderA{varWeights.glsStruct}{Variance Weights for glsStruct Object}{varWeights.glsStruct}
\keyword{models}{varWeights.glsStruct}
\begin{Description}\relax
If \code{object} includes a \code{varStruct} component, the inverse of
the standard deviations of the variance function structure represented
by the corresponding \code{varFunc} object are returned; else, a
vector of ones of length equal to the number of observations in the
data frame used to fit the associated linear model is returned.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'glsStruct':
varWeights(object)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] an object inheriting from class \code{glsStruct},
representing a list of linear model components, such as
\code{corStruct} and \code{varFunc} objects.
\end{ldescription}
\end{Arguments}
\begin{Value}
if \code{object} includes a \code{varStruct} component, a vector with
the corresponding variance weights; else, or a vector of ones.
\end{Value}
\begin{Author}\relax
Jose Pinheiro \email{Jose.Pinheiro@pharma.novartis.com} and Douglas Bates \email{bates@stat.wisc.edu}
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{varWeights}{varWeights}}
\end{SeeAlso}

