plot_prior_p.Rd
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.
plot_prior_p(lambda = 1, alleles = NULL)
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 | the dimensionality of the prior. Defaults to the length of
|