order_draws | R Documentation |
draws
objectsOrder draws
objects according to iteration and chain number. By default,
draws objects are ordered but subsetting or extracting parts of them may
leave them in an unordered state.
order_draws(x, ...)
## S3 method for class 'draws_matrix'
order_draws(x, ...)
## S3 method for class 'draws_array'
order_draws(x, ...)
## S3 method for class 'draws_df'
order_draws(x, ...)
## S3 method for class 'draws_list'
order_draws(x, ...)
## S3 method for class 'draws_rvars'
order_draws(x, ...)
## S3 method for class 'rvar'
order_draws(x, ...)
x |
(draws) A |
... |
Arguments passed to individual methods (if applicable). |
A draws
object of the same class as x
.
repair_draws()
x <- as_draws_array(example_draws())
dimnames(x[10:5, 4:3, ])
dimnames(order_draws(x[10:5, 4:3, ]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.