From d81550d0cccae824cc748de48e7fd50ea8d8033a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 16 Apr 2020 18:02:18 +0200 Subject: Make na.rm = FALSE the default for geomean() This makes more sense and is in line with mean() from base R. Adapt tests and update docs. --- docs/reference/sawtooth.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'docs/reference/sawtooth.html') diff --git a/docs/reference/sawtooth.html b/docs/reference/sawtooth.html index c6756a9..7720afc 100644 --- a/docs/reference/sawtooth.html +++ b/docs/reference/sawtooth.html @@ -8,11 +8,13 @@ Create decline time series for multiple applications — sawtooth • pfm + + @@ -32,14 +34,15 @@ - + + @@ -83,7 +86,6 @@ n and i are disregarded." /> Reference - @@ -105,15 +107,17 @@ n and i are disregarded." />
-

If the application pattern is specified in applications, n and i are disregarded.

-
-
sawtooth(x, n = 1, i = 365, applications = data.frame(time = seq(0,
-  (n - 1) * i, length.out = n), amount = 1))
- +
sawtooth(
+  x,
+  n = 1,
+  i = 365,
+  applications = data.frame(time = seq(0, (n - 1) * i, length.out = n), amount = 1)
+)
+

Arguments

@@ -136,7 +140,7 @@ is ignored

the corresponding amounts applied in the second column.

- +

Examples

applications = data.frame(time = seq(0, 14, by = 7), amount = c(1, 2, 3)) @@ -162,7 +166,6 @@ the corresponding amounts applied in the second column.

Contents

-- cgit v1.2.1