print.bmult {multibridge}R Documentation

print method for class bmult

Description

Prints model specification

Usage

## S3 method for class 'bmult'
print(x, ...)

Arguments

x

object of class bmult as returned from mult_bf_informed or binom_bf_informed

...

additional arguments, currently ignored

Value

The print methods print the model specifications and descriptives and return nothing

Examples

# 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')

## Binomial Case
out_binom  <- binom_bf_informed(x=x, n=n, Hr=Hr, a=a, b=b, niter=1e3,factor_levels, seed=2020)
out_binom
## Multinomial Case
out_mult  <- mult_bf_informed(x=x, Hr=Hr, a=a, niter=1e3,factor_levels, seed=2020)
out_mult

[Package multibridge version 1.2.0 Index]