compareStones: compareStones

Description Usage Arguments Value Examples

View source: R/compareStones.R

Description

A function to extract the marginal likelihood from the stepping stone sampler output of two BayesTraits runs, and work out the log Bayes Factors.

Usage

1
compareStones(comp, simp)

Arguments

comp

The name of the stepping stones log file of the more complex of the two BayesTraits models.

simp

The name of the stepping stone log file of the more simple of the two BayesTraits models.

Value

The log Bayes factor of the comparison between the more complex and the more simple model.

Examples

1
compareStones("complex.model.stones.log.txt", "simple.model.stones.log.txt")

hferg/btrtools documentation built on May 17, 2019, 3:56 p.m.