Description Usage Arguments Value Examples
View source: R/wos_plot_input.R
plot one simulation input for 'windows of selection' following simulation run
1 2 3 |
dfsim |
data on concentration and time-to-resistance output from simulation run from wos_sim() |
x |
name of column of x data |
y |
name of column of y data |
xlab |
label of column of x data for plot |
ylab |
label of column of y data for plot |
title |
title for ggplot |
plot |
whether to plot |
xreverse |
whether to reverse x axis for declining concentration |
ggplot object
1 2 | dfsim <- wos_diagram(sim=TRUE, rr_cost=0, plot=FALSE)
wos_plot_input(dfsim, y='dom_resist', ylab='dominance')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.