Description Usage Arguments Value See Also Examples
A function to calculate odds for predation from observed selection frequencies using MWNCHHypergeo model.
1 2 | CalcOddsPredation(freq.alive, freq.all, map.alive = NULL,
map.all = NULL)
|
freq.alive |
A vector of observed absolute frequencies for the three genotypes in the alive population |
freq.all |
An vector of observed absolute frequencies for the three genotypes in the population before selection |
map.alive |
Optional. Integer list containing the ids of specific
columns of |
map.all |
Optional. Integer list containing the ids of specific
columns of |
A vector of odds for the 3 genotypes, according to the MWNCHHypergeo model.
For more information, see FindIdsGtCounts
which this
function binds.
1 2 3 4 5 6 | ## Not run:
f.alive <- c(17, 3, 15, 1, 36)
f.all <- c(24, 5, 22, 2, 53)
CalcOddsPredation(f.alive, f.all)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.