Computes mean of a prior distribution. (In case of orthonormal prior distributions for factors, the mean of for the deviations from intercept is returned.)
# S3 method for class 'prior'
mean(x, ...)a mean of an object of class 'prior'.
The mean of a truncated non-normal prior is the integral of its
truncated quantile function over the probability interval (0, 1). It is
refused with BayesTools_numerical_unavailable when the quantile
function is unavailable or the integral's estimated error exceeds 1e-6 of the
interquartile range. Untruncated priors use closed forms and truncated
normal priors their closed form.