From 197606de234a936751ac3c1db2e4feb3fa117a92 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 6 Jun 2018 02:48:44 +0200 Subject: Rebuild docs with pkgdown 1.1.0 --- docs/reference/sawtooth.html | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) (limited to 'docs/reference/sawtooth.html') diff --git a/docs/reference/sawtooth.html b/docs/reference/sawtooth.html index cfd62f5..6b2ce13 100644 --- a/docs/reference/sawtooth.html +++ b/docs/reference/sawtooth.html @@ -21,18 +21,24 @@ + + + - - - + + + + + + @@ -55,8 +61,12 @@ times, with an interval i." /> - pfm + + pfm + 0.4.5 + + @@ -80,22 +96,26 @@ times, with an interval i." /> -
+
+

If the number of application cycles n is greater than 1, the application pattern specified in applications is repeated n times, with an interval i.

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

Arguments

+

Arguments

@@ -122,11 +142,11 @@ the corresponding amounts applied in the second column.

Examples

applications = data.frame(time = seq(0, 14, by = 7), amount = c(1, 2, 3)) pred <- one_box(10) -plot(sawtooth(pred, applications = applications))
+plot(sawtooth(pred, applications = applications))
m_2 <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"))
#> Successfully compiled differential equation model from auto-generated C code.
fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE) pred_2 <- one_box(fit_2, ini = 1) pred_2_saw <- sawtooth(pred_2, 2, 7) -plot(pred_2_saw, max_twa = 21, max_twa_var = "m1")
+plot(pred_2_saw, max_twa = 21, max_twa_var = "m1")
max_twa(pred_2_saw)
#> $max #> parent m1 #> 0.7834480 0.8617048 @@ -163,5 +183,8 @@ the corresponding amounts applied in the second column.

+ + + -- cgit v1.2.3