calcpp: calcpp

Description Usage Arguments Value Author(s)

View source: R/marginalpp.R

Description

Internal function to combine vector or matrix prior with vector of log ABF to get pp per model

Usage

1
calcpp(pr, lBF, norm = TRUE)

Arguments

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)

Value

vector or matrix of pp

Author(s)

Chris Wallace


jennasimit/MTFM documentation built on Aug. 15, 2019, 6:14 p.m.