multibridge (version 1.1.0)

print.summary.bmult_bridge: print method for class summary.bmult_bridge

Description

Prints the summary of bridge sampling output

Usage

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

Value

The print methods print the summary of the bridge sampling output

Arguments

x

object of class summary.bmult_bridge as returned from summary.bmult_bridge

...

additional arguments, currently ignored

Examples

Run this code
# data
x <- c(3, 4, 10, 11)
n <- c(15, 12, 12, 12)
# priors
a <- c(1, 1, 1, 1)
b <- c(1, 1, 1, 1)
# informed hypothesis
factor_levels <- c('theta1', 'theta2', 'theta3', 'theta4')
Hr            <- c('theta1', '<',  'theta2', '<', 'theta3', '<', 'theta4')

## Multinomial Case
out_mult  <- mult_bf_inequality(x=x, Hr=Hr, a=a, factor_levels=factor_levels,
niter=1e3, seed=2020)
summary(out_mult)

Run the code above in your browser using DataCamp Workspace