Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bridge-methods

Methods for bridge and bridge_list objects


Description

Methods defined for objects returned from the generic bridge_sampler function.

Usage

## S3 method for class 'bridge'
summary(object, na.rm = TRUE, ...)

## S3 method for class 'bridge_list'
summary(object, na.rm = TRUE, ...)

## S3 method for class 'summary.bridge'
print(x, ...)

## S3 method for class 'summary.bridge_list'
print(x, ...)

## S3 method for class 'bridge'
print(x, ...)

## S3 method for class 'bridge_list'
print(x, na.rm = TRUE, ...)

Arguments

object, x

object of class bridge or bridge_list as returned from bridge_sampler.

na.rm

logical. Should NA estimates in bridge_list objects be removed? Passed to error_measures.

...

further arguments, currently ignored.

Value

The summary methods return a data.frame which contains the log marginal likelihood plus the result returned from invoking error_measures.

The print methods simply print and return nothing.


bridgesampling

Bridge Sampling for Marginal Likelihoods and Bayes Factors

v1.1-2
GPL (>= 2)
Authors
Quentin F. Gronau [aut, cre] (<https://orcid.org/0000-0001-5510-6943>), Henrik Singmann [aut] (<https://orcid.org/0000-0002-4842-3657>), Jonathan J. Forster [ctb], Eric-Jan Wagenmakers [ths], The JASP Team [ctb], Jiqiang Guo [ctb], Jonah Gabry [ctb], Ben Goodrich [ctb], Kees Mulder [ctb], Perry de Valpine [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.