From aed160d7f0eaf5865e2bd9bf6c4b1c9d7b13d911 Mon Sep 17 00:00:00 2001 From: Ranke Johannes Date: Wed, 31 Jan 2024 13:16:17 +0100 Subject: Reorganise data generation - Use inst/data_generation for R code generating data as in some of my other packages - data/*.RData files were checked using https://github.com/jranke/dotfiles/blob/main/bin/rda_diff contents were not changed - Remove ChangeLog, the history is in the git logs - Update docs and some links contained therein - use \doi{} markup - Move logs to log directory --- docs/reference/plot.one_box.html | 242 +++++++++++++++------------------------ 1 file changed, 90 insertions(+), 152 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 75b8fe9..2fc946e 100644 --- a/docs/reference/plot.one_box.html +++ b/docs/reference/plot.one_box.html @@ -1,64 +1,12 @@ - - - - - - - -Plot time series of decline data — plot.one_box • pfm - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Plot time series of decline data — plot.one_box • pfm - - - - + + -
-
- -
- -
+
-
# S3 method for one_box
-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],
-  ...
-)
- -

Arguments

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
x

The object of type one_box to be plotted

xlim

Limits for the x axis

ylim

Limits for the y axis

xlab

Label for the x axis

ylab

Label for the y axis

max_twa

If a numeric value is given, the maximum time weighted -average concentration(s) is/are shown in the graph.

max_twa_var

Variable for which the maximum time weighted average should -be shown if max_twa is not NULL.

...

Further arguments passed to methods

- -

See also

- - - -

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)
-# 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)
#> 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")
-
- +
-
- - + + -- cgit v1.2.1