ngeoMean: Get the geometric mean of a vector

View source: R/utils.R

ngeoMeanR Documentation

Get the geometric mean of a vector

Description

Get the geometric mean of a vector

Usage

ngeoMean(x, thresh = 0.5)

Arguments

x

numeric vector

thresh

minimum numeric value greater than 0 to have in vector

Value

numeric geometric mean of vector

Examples

ngeoMean(c(0, 1, 2, 2), thresh=0.1)


Nanostring-Biostats/GeomxTools documentation built on Sept. 24, 2024, 4:51 p.m.