plot {PROSPER} | R Documentation |
Simple plot for prosper simulation results
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
## S4 method for signature 'prosper,missing'
plot(x, y, plot_var = "SB_autumn", ...)
Arguments
x |
|
y |
not used. |
plot_var |
variable, i.e. a column name of the result data.frame, to be plotted. |
... |
other graphical parameters. |
See Also
Examples
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)
[Package PROSPER version 0.3.3 Index]