plot: Simple plot for prosper simulation results

Description Usage Arguments See Also Examples

Description

This function draws three figures. i)Numerics: mean number of individual plants of a specified development stage for each simulation cycle, summing up the genotypes to one number per cycle. ii)Raw counts: same as i) using the results of the repetitions instead of the mean. iii) Mean of the proportion of plants with only alleles for sensitivity, proportion of plants with only alleles for resistance, proportion of plants with mixed alleles for resistance and sensitivity, proportion of R alleles in the population.

Usage

1
2
## S4 method for signature 'prosper,missing'
plot(x, y, plot_var = "SB_autumn", ...)

Arguments

x

prosper, the result of a prosper simulation.

y

not used.

plot_var

variable, i.e. a column name of the result data.frame, to be plotted. character.

...

other graphical parameters.

See Also

summary

Examples

1
2
3
4
data(param.LOLRI)
mod_lolri    <- prosper.LOLRI(param.weed=param.LOLRI, area=20,  af = c(0.005, 0.01),
                                       duration=3, repetitions=2)
plot(mod_lolri)

PROSPER documentation built on July 2, 2020, 3:25 a.m.

Related to plot in PROSPER...