plot_prior_p: Plot prior on allele frequencies

Description Usage Arguments

Description

Produce plot of the prior on COI for given parameters. This prior is Beta in the bi-allelic case, and Dirichlet in the multi-allelic case.

Usage

1
plot_prior_p(lambda = 1, alleles = NULL)

Arguments

lambda

shape parameter(s) of the Beta or Dirichlet distribution. Can be a single scalar value, in which case the dimensionality is given by the number of alleles, or a vector of values specifying the shape parameter for each allele

alleles

the dimensionality of the prior. Defaults to the length of lambda, or to 2 of lambda is a scalar


bobverity/MALECOT documentation built on May 13, 2019, 4:01 a.m.