Convert given prior to numeric format
prior_to_num(desc)
desc
Prior description as a named list, containing fields
dist - Distribution name. Must be one of 'uniform', 'normal', 'student-t', 'gamma', 'inv-gamma', 'log-normal' (case-insensitive)
dist
square - Is the prior for a square-transformed parameter.
square
Other list fields are interpreted as hyperparameters.
a named list of parsed options