Description Usage Arguments Value Examples
View source: R/set_start_freqs.r
set_start_freqs_test allows starting allele frequencies to be hardcoded
1 | set_start_freqs_test(n_insecticides = NULL, max_gen = 200, plot = FALSE)
|
n_insecticides |
number of insecticides, optional can just be specified by number of items in vector expo |
max_gen |
maximum number of mosquito generations to run the simulation |
plot |
whether to plot exposure |
array of allele frequencies with just first record filled
1 2 3 4 | RAF <- set_start_freqs_test( )
#allowing array to be viewed differently
as.data.frame(RAF)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.