Plot time series of decline data

# S3 method for one_box
plot(x, xlim = range(time(x)), ylim = c(0, max(x)),
  xlab = "Time", ylab = "Fraction of initial", 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

sawtooth

Examples

fomc_fit <- mkinfit("FOMC", FOCUS_2006_C, quiet = TRUE) fomc_pred <- one_box(fomc_fit) plot(sawtooth(fomc_pred, 3, 7), max_twa = 21)