sel_herb {PROSPER} | R Documentation |
Surviving the herbicide
Description
sel_herb
calculates the surviving number of each genotype. sel_herb
selects for resistant individuals.
Usage
sel_herb(start, result, thresh, sdrate, rate, put, max_vec_length = 1e+07)
Arguments
start |
column names of parental cohorts. |
result |
name of the results column. |
thresh |
threshold herbicide rate to kill weeds without resistance. |
sdrate |
variance of the herbicide rate reaching the weed. |
rate |
percentage (%) of the registered herbicide dose. |
put |
probability of a weed to be untouched by the herbicide. |
max_vec_length |
used internally, a technical term, defining the maximum length of vectors to be used. |
Details
For every genotype intern_herbicide
is called. If no genetics are included, the value from start
is returned in result
.
See Also
Examples
struc_preparation2(Rmx=10, af=c(0.02,0.01), epis=0, dom=1)
gen_freq( af=c(0.01,0.8), n_seeds=10000)
sel_herb(start="initialSB", result="winter",
thresh=20, sdrate=0.4, rate=100, put=0.04)