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)

CamFreshwater/samSim documentation built on Sept. 25, 2023, 10:22 a.m.