From a76221d87485029444c8e684022ca606a0c7e68d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 18 Jan 2017 22:41:01 +0100 Subject: Update static docs using pkgdown - Add _pkgdown.yml for a structured function/data reference - Make seealso links active - Make mkinfit calls quiet - Use pkgdown branch from pull request hadley/pkgdown#229 to have topics ordered --- docs/geomean.html | 121 ------------------------------------------------------ 1 file changed, 121 deletions(-) delete mode 100644 docs/geomean.html (limited to 'docs/geomean.html') diff --git a/docs/geomean.html b/docs/geomean.html deleted file mode 100644 index 3530c32..0000000 --- a/docs/geomean.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - -geomean. pfm 0.3-8 - - - - - - - - - - - - - - - - - - -
-
- -
- -

Calculate the geometric mean

- -
-
-

Usage

-
geomean(x, na.rm = TRUE)
- -

Arguments

-
-
x
-
Vector of numbers
-
na.rm
-
Should NA values be omitted?
-
- -
-

Value

- -

-The geometric mean -

- -
- -
-

Description

- -

Based on some posts in a thread on Stackoverflow -http://stackoverflow.com/questions/2602583/geometric-mean-is-there-a-built-in -This function checks for negative values, removes NA values per default and -returns 0 if at least one element of the vector is 0.

- -
- -

Examples

-
geomean(c(1, 3, 9))
-
[1] 3 -
-
geomean(c(1, 3, NA, 9))
-
[1] 3 -
-
## Not run: geomean(c(1, -3, 9)) # returns an error
-
- -
- - -
- - \ No newline at end of file -- cgit v1.2.1