comp.beta.pval.k {QFASA} | R Documentation |
Calculate p-value corresponding to a specified null value using bootstrapping
Description
Calculate p-value corresponding to a specified null value using bootstrapping
Usage
comp.beta.pval.k(par.list, R, diet.test.k, p.mat, k)
Arguments
par.list |
a list of R.p lists of I beta distribution parameters phi and theta that define diet proportion estimates for each of the prey species. Effectively R.p beta distributions for each of the I prey species which we bootstrap to calculate p-values. |
R |
number of bootstrap replicates to use in p-value estimation. |
diet.test.k |
null value |
p.mat |
predator diet estimates. |
k |
prey species index 1..I |
Value
p-value p-value
[Package QFASA version 1.2.0 Index]