From 41a2a356bd9b61c90c04b47aee147bf837223028 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 21 Oct 2019 15:31:59 +0200 Subject: Improve tests, remove geometric_mean --- docs/reference/geometric_mean.html | 194 ------------------------------------- 1 file changed, 194 deletions(-) delete mode 100644 docs/reference/geometric_mean.html (limited to 'docs/reference') diff --git a/docs/reference/geometric_mean.html b/docs/reference/geometric_mean.html deleted file mode 100644 index 3f9241b4..00000000 --- a/docs/reference/geometric_mean.html +++ /dev/null @@ -1,194 +0,0 @@ - - - - - - - - -Calculate the geometric mean — geometric_mean • mkin - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - -
- -
-
- - -
- -

Function calculating the geometric mean of numeric vectors

- -
- -
geometric_mean(x, na.rm = FALSE)
- -

Arguments

- - - - - - - - - - -
x

A numeric vector

na.rm

Should NA values be ignored

- -

Value

- -

The geometric mean.

- - -

Examples

-
geometric_mean(c(1,3, 9))
#> [1] 3
geometric_mean(c(1,3, NA))
#> [1] NA
geometric_mean(c(1,3, NA), na.rm = TRUE)
#> [1] 1.732051
-
- -
- - - -
- - - - - - - - -- cgit v1.2.1