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.
1 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.