weightedVar(x, w, na.rm=FALSE, center=NULL, ...)
x
giving the weights
to use for each element of x
. Negative weights are treated
as zero weights. Default value is equal weight to all values.numeric
scalar.na.rm
is TRUE
, otherwise not.var
.