set_start_freqs_test: set_start_freqs_test allows starting allele frequencies to be...

Description Usage Arguments Value Examples

View source: R/set_start_freqs.r

Description

set_start_freqs_test allows starting allele frequencies to be hardcoded

Usage

1
set_start_freqs_test(n_insecticides = NULL, max_gen = 200, plot = FALSE)

Arguments

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

Value

array of allele frequencies with just first record filled

Examples

1
2
3
4
RAF <- set_start_freqs_test( )

#allowing array to be viewed differently
as.data.frame(RAF)

ian-hastings/rotations documentation built on Dec. 14, 2020, 11:42 p.m.