geoMean: Calculate geometric mean

View source: R/infillMatrices.R

geoMeanR Documentation

Calculate geometric mean

Description

Helper function to calculate geometric means. Used in infill.

Usage

geoMean(x)

Arguments

x

A numeric vector.

Value

Returns a numeric equal to geometric mean

Examples

x <- c(2, 5, 12, 9)
geoMean(x)

Pacific-salmon-assess/samSim documentation built on Jan. 20, 2025, 11:17 a.m.