Plots the predicted evolution of the logarithmic count with time for an
instance of SimulInactivation
.
# S3 method for SimulInactivation
plot(
x,
y = NULL,
...,
make_gg = TRUE,
plot_temp = FALSE,
label_y1 = "logN",
label_y2 = "Temperature",
ylims = NULL
)
If make_gg = FALSE
, the plot is created. Otherwise, an
an instance of ggplot
is generated, printed and returned.
The object of class SimulInactivation
to plot.
ignored
additional arguments passed to plot
.
logical. If TRUE
, the plot is created using
ggplot2
. Otherwise, the plot is crated with base R
.
TRUE
by default.
logical. Whether the temperature profile will
be added to the plot. FALSE
by default.
Label of the principal y-axis.
Label of the secondary y-axis.
Numeric vector of length 2 with the Limits of the
y-axis. NULL
by default (0, max_count).