bridge-methods {bridgesampling}R Documentation

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.


[Package bridgesampling version 1.1-2 Index]