p.bayes: Empirical Bayes estimate of prior strength for source marker...

p.bayesR Documentation

Empirical Bayes estimate of prior strength for source marker frequencies

Description

Uses an iterative calculation to estimate an appropriate strength for the flat Dirichlet prior probability for source marker frequencies

Usage

p.bayes(sourcesamp, bold = 1, cut = 1e-04)

Arguments

sourcesamp

matrix of source samples

bold

starting value for iterations (??)

cut

cutoff value for iterations

Details

See Masuda and Pella's paper

Value

prior strength parameter (a)


bbolker/mixstock documentation built on July 23, 2024, 12:18 p.m.