weighted.meanNA: Weighted arithmetic mean ignoring NAs

weighted.meanNAR Documentation

Weighted arithmetic mean ignoring NAs

Description

Weighted arithmetic mean ignoring NAs

Usage

weighted.meanNA(x, w, ...)

Arguments

x

an object containing the values whose weighted mean is to be computed.

w

a numerical vector of weights the same length as x giving the weights to use for elements of x.

...

arguments to be passed to or from methods.


latrend documentation built on March 31, 2023, 5:45 p.m.