Skip to contents

Geometric mean

Usage

geom_mean(x, na.rm = TRUE)

Arguments

x

Numeric vector (must be positive).

na.rm

Logical. Remove NAs?

Value

Scalar geometric mean.