repair_draws | R Documentation |
draws
objectsRepair indices of draws
objects so that iterations, chains, and draws
are continuously and consistently numbered.
repair_draws(x, order = TRUE, ...)
## S3 method for class 'draws_matrix'
repair_draws(x, order = TRUE, ...)
## S3 method for class 'draws_array'
repair_draws(x, order = TRUE, ...)
## S3 method for class 'draws_df'
repair_draws(x, order = TRUE, ...)
## S3 method for class 'draws_list'
repair_draws(x, order = TRUE, ...)
## S3 method for class 'draws_rvars'
repair_draws(x, order = TRUE, ...)
## S3 method for class 'rvar'
repair_draws(x, order = TRUE, ...)
x |
(draws) A |
order |
(logical) Should draws be ordered (via |
... |
Arguments passed to individual methods (if applicable). |
A draws
object of the same class as x
.
order_draws()
x <- as_draws_array(example_draws())
(x <- x[10:5, 3:4, ])
repair_draws(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.