Description Usage Arguments Value Examples
requires either a dataframe with columns for genotype, x (e.g. time) and y (e.g.mortality) or vectors of x, and yrr,ysr,yss
1 2 3 4 5 |
dfmortbygen |
dataframe of mortality by genotype, an alternative way of initialising function, needs genotype column |
x |
column name of x in dfmortbygen |
y |
column name of y in dfmortbygen |
concs |
concentration or time |
mort_rr |
rr mortalities 0-1 |
mort_sr |
sr mortalities 0-1 |
mort_ss |
ss mortalities 0-1 |
exposure |
proportion of popn exposed to insecticide only used in the simulations |
max_gen |
maximum generations to use in the simulations |
no_thresh |
what to return as time-to-resistance if threshold not reached |
startfreq |
starting frequency to use in the simulations |
dominances |
only if there are no SR values which dominances to run |
plot |
whether to plot |
dataframe of simulation outputs
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.