print.dc_summary: Display a summary of a 'dc' object

View source: R/MCMCsim.R

print.dc_summaryR Documentation

Display a summary of a dc object

Description

Display a summary of a dc object

Usage

## S3 method for class 'dc_summary'
print(
  x,
  digits = 3L,
  max.lines = 1000L,
  tail = FALSE,
  sort = NULL,
  max.label.length = NULL,
  ...
)

Arguments

x

an object of class dc_summary.

digits

number of digits to use, defaults to 3.

max.lines

maximum number of lines to display. If NULL, all elements are displayed.

tail

if TRUE the last instead of first at most max.lines are displayed.

sort

column name on which to sort the output.

max.label.length

if specified, printed row labels will be abbreviated to at most this length.

...

passed on to print.default.

Examples


ex <- mcmcsae_example()
sampler <- create_sampler(ex$model, data=ex$dat)
sim <- MCMCsim(sampler, store.all=TRUE)
print(summary(sim$u), sort="n_eff")



mcmcsae documentation built on Oct. 11, 2023, 1:06 a.m.