bayes_factor.smoothbp_fit: Bayes Factor for smoothbp_fit

View source: R/bridge_sampling.R

bayes_factor.smoothbp_fitR Documentation

Bayes Factor for smoothbp_fit

Description

Bayes Factor for smoothbp_fit

Usage

## S3 method for class 'smoothbp_fit'
bayes_factor(x1, x2, log = FALSE, ...)

Arguments

x1

A smoothbp_fit object.

x2

A smoothbp_fit object.

log

Logical; if TRUE, return log Bayes Factor.

...

Passed to bridge_sampler.

Value

A numeric value representing the Bayes Factor (or log Bayes Factor if log = TRUE) comparing x1 to x2.


smoothbp documentation built on June 14, 2026, 9:06 a.m.