gm_mean: Geometric mean

Description Usage Arguments Value

View source: R/gene_statistics.R

Description

This function computes the geometric mean.

Usage

1
gm_mean(x, na_rm = FALSE, zero_propagate = TRUE)

Arguments

x

A numeric vector.

na.rm

Whether to remove NA before calculation.

zero.propagate

Whether zeros are allowed to propagate in the calculation or whether they are treated as NA.

Value

The geometric mean.


ramiromagno/oscillation documentation built on April 20, 2020, 10:37 a.m.