Computes mean of a prior
distribution. (In case of orthonormal prior distributions
for factors, the mean of for the deviations from intercept
is returned.)
# create a standard normal prior distributionp1<-prior(distribution ="normal", parameters =list(mean =1, sd =1))# compute mean of the prior distributionmean(p1)#> [1] 1