# S3 method for one_box
+ # S3 method for class 'one_box'
plot(
x,
xlim = range(time(x)),
@@ -63,37 +54,39 @@
Arguments
-
- x
+
+
+- x
The object of type one_box
to be plotted
-- xlim
+- xlim
Limits for the x axis
-- ylim
+- ylim
Limits for the y axis
-- xlab
+- xlab
Label for the x axis
-- ylab
+- ylab
Label for the y axis
-- max_twa
+- max_twa
If a numeric value is given, the maximum time weighted
average concentration(s) is/are shown in the graph.
-- max_twa_var
+- 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
@@ -109,35 +102,38 @@ be shown if max_twa is not NULL.
plot(sawtooth(dfop_pred, 3, 7), max_twa = 21)
+
# Use a fitted mkinfit model
-m_2 <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"))
+m_2 <- mkinmod(parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"))
#> Temporary DLL for differentials generated and loaded
-fit_2 <- mkinfit(m_2, FOCUS_2006_D, quiet = TRUE)
+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)
plot(pred_2_saw, max_twa = 21, max_twa_var = "m1")
-
+
+