From 90fa42c86596c85168931148bf8d5fa014fa7794 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 23 Jul 2020 10:51:39 +0200 Subject: Update docs, use R6 support of roxygen --- docs/reference/sawtooth.html | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'docs/reference/sawtooth.html') diff --git a/docs/reference/sawtooth.html b/docs/reference/sawtooth.html index 7720afc..fea24d4 100644 --- a/docs/reference/sawtooth.html +++ b/docs/reference/sawtooth.html @@ -10,23 +10,27 @@ - + - + - + + + + + - - + + - + - - + + @@ -36,9 +40,8 @@ - - @@ -56,7 +59,7 @@ n and i are disregarded." /> - +
-

If the application pattern is specified in applications, +

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

@@ -145,10 +148,10 @@ 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))
-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)
#> Warning: Observations with value of zero were removed from the data
pred_2 <- one_box(fit_2, ini = 1) +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)
#> Warning: Observations with value of zero were removed from the data
#> Warning: Shapiro-Wilk test for standardized residuals: p = 0.0165
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 @@ -162,13 +165,10 @@ the corresponding amounts applied in the second column.

#> 21.00 47.85 #>
- @@ -179,7 +179,7 @@ the corresponding amounts applied in the second column.

-

Site built with pkgdown 1.4.1.

+

Site built with pkgdown 1.5.1.

-- cgit v1.2.1