From a6d61c06d573574cf574ed893cc13808a9e8b785 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 19 Jan 2017 09:20:22 +0100 Subject: Fix order of arguments to one_box, correct docs --- docs/reference/plot.one_box.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 ec784c5..d43c415 100644 --- a/docs/reference/plot.one_box.html +++ b/docs/reference/plot.one_box.html @@ -110,7 +110,9 @@ be shown if max_twa is not NULL. 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_saw <- sawtooth(pred_2, 2, 7)
#> Error in as.matrix(x): Objekt 'pred_2' nicht gefunden
plot(pred_2_saw, max_twa = 21, max_twa_var = "m1")
#> Error in plot(pred_2_saw, max_twa = 21, max_twa_var = "m1"): Objekt 'pred_2_saw' nicht gefunden
+pred_2 <- one_box(fit_2) +pred_2_saw <- sawtooth(pred_2, 2, 7) +plot(pred_2_saw, max_twa = 21, max_twa_var = "m1")