bridge-methods function

Methods for bridge and bridge_list objects

Methods for bridge and bridge_list objects

Methods defined for objects returned from the generic bridge_sampler function.

## 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.

Returns

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.