extract_distribution | R Documentation |
This function will locate and extract the the distributions for Bayesian priors and random parameters as specified in the design. The output is used to create the matrix of correct draws for priors and parameters.
extract_distribution(string, type)
string |
A single character string or list of character strings with a single or multiple utility functions |
type |
A string indicating the type: prior or param |
IMPORTANT: The function will silently drop duplicates.
A named vector of priors or parameters where the type of distribution is given by a character letter: "normal", "lognormal", "uniform" or "triangular"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.