Plot consumer and resource dynamics from deSolve output
plot_rescomp(
model,
consumers = TRUE,
resources = TRUE,
logy = FALSE,
lwd = 1,
xlims = NULL
)
List output from sim_rescomp()
. First element is an object of
class deSolve. Second element is an object of class rescomp.
Plot consumer dynamics? Default = TRUE.
Plot resource dynamics? Default = TRUE.
Log transfrom y-axis (default = FALSE).
Line width (default = 1)
Vector of length giving the time frame to plot.
ggplot object
pars <- spec_rescomp()
m1 <- sim_rescomp(pars)
plot_rescomp(m1)