print.draws_matrix {posterior} | R Documentation |
Print draws_matrix
objects
Description
Pretty printing for draws_matrix
objects.
Usage
## S3 method for class 'draws_matrix'
print(
x,
digits = 2,
max_draws = getOption("posterior.max_draws", 10),
max_variables = getOption("posterior.max_variables", 8),
reserved = FALSE,
...
)
Arguments
x |
(draws) A |
digits |
(nonnegative integer) The minimum number of significant digits
to print. If |
max_draws |
(positive integer) The maximum number of draws to print. Can
be controlled globally via the |
max_variables |
(positive integer) The maximum number of variables to
print. Can be controlled globally via the |
reserved |
(logical) Should reserved variables be included in the
output? Defaults to |
... |
Further arguments passed to the underlying |
Value
A draws
object of the same class as x
.
Examples
x <- as_draws_matrix(example_draws())
print(x)