Description Usage Arguments Value Examples
this is a prototype to explore what a lookup table might look like
1 2 3 4 5 | create_lookup(input_values = list(use_pyr = c(0, 1), use_ddt = c(0, 1),
use_ops = c(0, 1), use_car = c(0, 1), pop_vector = seq(0.1, 1, 0.1),
resist_pyr = seq(0.1, 1, 0.1)), rate_growth = 0.4, insecticide_kill = 0.4,
resistance_modifier = 1, carry_cap = 1, resist_incr = 0.4,
resist_decr = 0.4, write_csv = "demoLookupTable.csv")
|
input_values |
a list of inputs and values |
rate_growth |
vector popn growth rate |
insecticide_kill |
insecticide kill rate |
resistance_modifier |
resistance modifier |
carry_cap |
carrying capacity |
resist_incr |
increase in resistance when correct insecticide present |
resist_decr |
decrease in resistance when correct insecticide absent |
write_csv |
a filename or NULL for no csv output |
a lookup table of input values and population and resistance outputs
1 | create_lookup(write_csv=NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.