wgmean: Weighted geometric mean

Description Usage Arguments Details Value See Also

View source: R/stats.R

Description

Take a numeric vector and return its weighted geometric mean.

Usage

1
wgmean(x, w)

Arguments

x

a numeric vector.

w

a vector of weights, of length(x).

Details

None.

Value

Return the weighted geometric standard deviation of a numeric vector.

See Also

amean returns an arithmetic mean.
gmean returns a geometric mean.
wamean returns a weighted arithmetic mean.
wgmean returns a weighted geometric mean.


functClust documentation built on Dec. 2, 2020, 5:06 p.m.