weighted_average: Weighted Average

Description Usage Arguments

Description

Computes a weighted average of the elements in a vector

Usage

1

Arguments

v

numeric vector

weights

optional numeric vector


gastonstat/matrixkit documentation built on May 16, 2019, 5:45 p.m.