From 803fe13e505960fddccdbd4dcb524715f5eb068d Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 18 Sep 2019 18:18:40 +0200 Subject: Add url: tag to _pkgdown.yml, typo, update docs --- docs/reference/plot.one_box.html | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) (limited to 'docs/reference/plot.one_box.html') diff --git a/docs/reference/plot.one_box.html b/docs/reference/plot.one_box.html index 6b8fdbb..89958c5 100644 --- a/docs/reference/plot.one_box.html +++ b/docs/reference/plot.one_box.html @@ -16,13 +16,15 @@ - + + - - + + + @@ -47,6 +49,7 @@ + @@ -71,7 +74,7 @@ @@ -94,13 +92,14 @@ +
@@ -111,9 +110,9 @@
# S3 method for one_box
-plot(x, xlim = range(time(x)), ylim = c(0, max(x)),
+plot(x, xlim = range(time(x)), ylim = c(0, max(x)),
   xlab = "Time", ylab = "Residue", max_twa = NULL,
-  max_twa_var = dimnames(x)[[2]][1], ...)
+ max_twa_var = dimnames(x)[[2]][1], ...)

Arguments

@@ -160,13 +159,12 @@ be shown if max_twa is not NULL.

Examples

-
dfop_pred <- one_box("DFOP", parms = c(k1 = 0.2, k2 = 0.02, g = 0.7)) -plot(dfop_pred)
plot(sawtooth(dfop_pred, 3, 7), max_twa = 21)
+
dfop_pred <- one_box("DFOP", parms = c(k1 = 0.2, k2 = 0.02, g = 0.7)) +plot(dfop_pred)
plot(sawtooth(dfop_pred, 3, 7), max_twa = 21)
# Use a fitted mkinfit model -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) +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) 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")
+
-

Site built with pkgdown 1.3.0.

+

Site built with pkgdown 1.4.1.

+
+ + -- cgit v1.2.1