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. character vector.

result

name of the results column. character.

thresh

threshold herbicide rate to kill weeds without resistance. numeric, 0 \le \code{thresh} \le 1.

sdrate

variance of the herbicide rate reaching the weed. positive numeric, 1 = 1 unit standard deviation.

rate

percentage (%) of the registered herbicide dose. positive numeric, can exceed 100 %.

put

probability of a weed to be untouched by the herbicide. numeric, 0 \le \code{put} \le 1.

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

sel_resist

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)

[Package PROSPER version 0.3.3 Index]