Learn R Programming

bridgesampling (version 1.1-2)

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 bridge
summary(object, na.rm = TRUE, ...)

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

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

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

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

# S3 method for 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.