comp.beta.pval.k: Calculate p-value corresponding to a specified null value...

comp.beta.pval.kR Documentation

Calculate p-value corresponding to a specified null value using bootstrapping

Description

Calculate p-value corresponding to a specified null value using bootstrapping

Usage

comp.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 distributions 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

null value

p.mat

predator diet estimates.

k

prey species index 1..I

Value

p-value p-value


justinkamerman/QFASA documentation built on Nov. 17, 2023, 12:33 p.m.