getPMP: Obtain posterior model probabilities

Description Usage Arguments Value Examples

View source: R/circGLMClassFunctions.R

Description

Compute posterior model probabilities from odds x and a prior odds.

Usage

1
getPMP(x, prior_odds = 1)

Arguments

x

A vector of odds for which to obtain the posterior model probabilities.

prior_odds

The prior odds.

Value

A matrix with two columns, giving the relative probabilities of the first hypothesis versus the second hypothesis.

Examples

1
getPMP(3)

circglmbayes documentation built on Jan. 22, 2021, 5:09 p.m.