Learn R Programming

sasLM (version 0.10.5)

geoMean: Geometric Mean without NA

Description

mean without NA values.

Usage

geoMean(y)

Value

geometric mean value

Arguments

y

a vector of numerics

Author

Kyun-Seop Bae k@acr.kr

Details

It removes NA in the input vector.

See Also

geoCV

Examples

Run this code
  geoMean(mtcars$mpg)

Run the code above in your browser using DataLab