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


QFASA documentation built on Sept. 11, 2024, 8:08 p.m.