print.choicer_hb: Print a hierarchical Bayes fit

View source: R/methods.R

print.choicer_hbR Documentation

Print a hierarchical Bayes fit

Description

Print a hierarchical Bayes fit

Usage

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

Arguments

x

A choicer_hmnl or choicer_hmnp object.

...

Additional arguments (ignored).

Value

The object invisibly.

Examples


sim <- simulate_hmnl_data(N = 50, T = 2, J = 3, seed = 42)
fit <- suppressWarnings(run_hmnlogit(sim$data, "task", "alt", "choice", c("x1", "x2"),
                    person_col = "pid",
                    mcmc = list(R = 300, burn = 100)))
print(fit)


choicer documentation built on Sept. 5, 2026, 1:07 a.m.