Normalize an optional fixed-effect Gaussian prior
Source:R/fit_laplace.R
dot-normalize_beta_prior.RdValidates beta_prior and recycles scalar mean / sd to length p.
Returns NULL (use the built-in weak prior) or list(mean, sd) with both
vectors of length p. Shared by tulpa_laplace() and the EM driver so the
validation rules live in one place.