Skip to contents

Converts a prior list returned by get_priors into Markdown/LaTeX equations suitable for use in a Quarto or R Markdown document.

Usage

priors_to_math(priors, labels = NULL, digits = 4L)

Arguments

priors

A named list of prior specifications, such as that returned by get_priors().

labels

Optional named character vector mapping parameter names to LaTeX labels.

digits

Integer number of significant digits to show.

Value

A character vector containing Markdown/LaTeX equations.