Assumptions: alpha1 < alpha2
bisect.beta.lim(alpha1, alpha2, par.list, R, p.mat, k)upper and lower limits for individual and simultaneous intervals respectively.
simultaneous confidence level
individual confidence level
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 distibutions for each of the I prey species from which we bootstrap to calculate p-values.
number of bootstrap replicates to use in p-value estimation.
predator diet estimates.
prey species index 1..I
Note: Tried to minimize number of times have to compute a pvalue since very slow.