Internal function to combine vector or matrix prior with vector of log ABF to get pp per model
calcpp(pr, lBF, norm = TRUE)
pr | vector or matrix of priors |
---|---|
lBF | vector of log ABF |
norm | if TRUE (default) normalise so sum(pp) (or rowSum(pp) if matrix) is 1. otherwise just return pr * exp(lBF) |
vector or matrix of pp