beta.pval.k: Calculate p-value of a given prey type diet proportion under...

Description Usage Arguments Value

Description

Calculate p-value of a given prey type diet proportion under the predator diets and estimated diet distribution provided.

Usage

1
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 distibutions 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

diet proportion for which we want the p-value

p.mat

predator diet estimates.

k

prey species index 1..I

Value

p-value p-value


QFASA documentation built on June 15, 2019, 1:03 a.m.