wMean: Calculate a weighted average

Description Usage Arguments Value

Description

Function to calculate a weighted average.

Usage

1
wMean(Y, W)

Arguments

Y

the values to calculate the weighted average over.

W

the weights (of length Y or 1) to use in the weighted average

Value

the weighed average


NeuroStat/NeuRRoStat documentation built on May 15, 2019, 1:26 p.m.