x
|
a matrix or data frame. As usual, rows are observations and
columns are variables.
|
wt
|
a non-negative and non-zero vector of weights for each
observation. Its length must equal the number of rows of x.
|
cor
|
A logical indicating whether the estimated correlation
weighted matrix will be returned as well.
|
center
|
Either a logical or a numeric vector specifying the
centers to be used when computing covariances. If TRUE, the
(weighted) mean of each variable is used, if FALSE, zero is
used. If center is numeric, its length must equal the number
of columns of x.
|