Calculate p-value corresponding to a specified null value using bootstrapping
comp.beta.pval.k(par.list, R, diet.test.k, p.mat, k)p-value p-value
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.
number of bootstrap replicates to use in p-value estimation.
null value
predator diet estimates.
prey species index 1..I