draws_list objectsPretty printing for draws_list objects.
# S3 method for draws_list
print(
x,
digits = 2,
max_iterations = getOption("posterior.max_iterations", 10),
max_chains = getOption("posterior.max_chains", 2),
max_variables = getOption("posterior.max_variables", 4),
reserved = FALSE,
...
)A draws object of the same class as x.
(draws) A draws object or another R object for which the method
is defined.
(nonnegative integer) The minimum number of significant digits
to print. If NULL, defaults to getOption("posterior.digits", 2).
(positive integer) The maximum number of iterations to
print. Can be controlled globally via the "posterior.max_iterations"
option.
(positive integer) The maximum number of chains to print.
Can be controlled globally via the "posterior.max_chains"
option.
(positive integer) The maximum number of variables to
print. Can be controlled globally via the "posterior.max_variables"
option.
(logical) Should reserved variables be included in the
output? Defaults to FALSE. See reserved_variables for an overview of
currently reserved variable names.
Further arguments passed to the underlying print() methods.
x <- as_draws_list(example_draws())
print(x)
Run the code above in your browser using DataLab