Description Usage Arguments Details Value References See Also Examples
View source: R/intern_herbicide.R
Utility function internally used. It's used only by sel_herb
, and usually there is no reason to change it. Calculates the surviving number of weeds according to the specific genotype.
1 | intern_herbicide(resist, n_samples, put, rate, sdrate, thresh)
|
resist |
numeric, value of resistance for the genotype (defined by Renton et al. 2011). Shall be ≤ 1. |
n_samples |
integer, the number of weeds with one specific genotype. |
put |
probability of a weed to be untouched by the herbicide. |
rate |
percentage (%) of the registered herbicide dose. |
sdrate |
variance of the herbicide rate reaching the weed. |
thresh |
threshold herbicide rate to kill weeds without resistance. |
intern_herbicide
is used in sel_herb
. Firstly, it calculates the number of weeds that are untouched by the herbicide by chance (probability=put
). In the second step, the herbicide rate that reached an individual is compared with the resistance value (calculated after Renton et al. 2011, sel_resist
). If the resistance value is lower than the dose, the weed dies. All surviving weeds are summed up.
The number of weeds surviving the herbicide.
Renton, M.; Diggle, A.; Manalil, S. & Powles, S. (2011): Does cutting herbicide rates threaten the sustainability of weed management in cropping systems? Journal of Theoretical Biology, 283, 14-27.
1 2 3 4 | #How many of 1000 weeds of a genotype with resistance value 5.5 survive a herbicide application
#with full dose? 'It is assumed that weeds reseaving less than 20 \% of the full dose survive
#independently of their resistant value.
intern_herbicide(resist=5.5, n_samples=1000, put=0.04, rate=100, sdrate=0.4, thresh=20)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.