View source: R/custom_pi_prior.R
custom_pi_prior | R Documentation |
This handles a case in which the user provides a data frame for pi_prior
. The
data frame lists desired Dirichlet parameter priors for at least one reference collection,
and/or a default value for all unspecified collections.
custom_pi_prior(P, C)
P |
A data frame of one or more desired pi prior parameters. One column, "collection", is a character vector, with valid values including the names of any reference collections, or the special value "DEFAULT_PI". The second column, "pi_param" is the prior value to be used for each collection. |
C |
a tibble with a column "collection" collection names |
Input checking is currently done in the early stages of infer_mixture
in order to
throw errors before long processing times, and avoid re-checking during bootstrap_rho
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.