Skip to contents

Plot methods for S4 objects of class sim_conds, endosim_mod, endosim_col, and pest

Usage

plot(x, y, ...)

# S4 method for class 'sim_conds,missing'
plot(x, y, ...)

# S4 method for class 'endosim_mod,missing'
plot(x, type = "pop_size", ...)

# S4 method for class 'endosim_col,missing'
plot(x, y, ...)

# S4 method for class 'pest,missing'
plot(x, y, ...)

Arguments

x

S4 object of class sim_conds or endosim_mod or endosim_col or pest

y

from the generic plot function, ignored for EndoSim objects

...

Any other argument suitable for plot()

type

"pop_size" (default) to plot population sizes through time, "R+" to plot proportion of R+ through time, "demo" to plot proportion of population by lifestage through time, "para" to plot parasitoid populations through time; ignored for class sim_conds, endosim_col and pest