Learn R Programming

functClust (version 0.1.6)

amean: Arithmetic mean

Description

Take a numeric vector and return the arithmetic mean.

Usage

amean(x)

Arguments

x

a numeric vector.

Value

Return the arithmetic mean of a numeric vector.

Details

The function amean() works as the standard function stats::mean(), but with option na.rm = TRUE by default.

See Also

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