bridge-methods: Methods for bridge and bridge_list objects

Description Usage Arguments Value

Description

Methods defined for objects returned from the generic bridge_sampler function.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 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 documentation built on April 16, 2021, 9:07 a.m.