opt.beta.lim: Find simultaneous confidence intervals for diet proportions...

opt.beta.limR Documentation

Find simultaneous confidence intervals for diet proportions of a single prey species i.e. solve f(pio) = PVAL(pio) = alpha1. Calls root finding function root.beta.

Description

Find simultaneous confidence intervals for diet proportions of a single prey species i.e. solve f(pio) = PVAL(pio) = alpha1. Calls root finding function root.beta.

Usage

opt.beta.lim(alpha1, par.list, R, p.mat, k)

Arguments

alpha1

simultaneous 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 distributions 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

Value

upper and lower limits simultaneous intervals respectively.


QFASA documentation built on Nov. 17, 2023, 1:08 a.m.