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