Split chains by halving the number of iterations per chain and doubling the number of chains.

split_chains(x, ...)

Arguments

x

(draws) A draws object or another R object for which the method is defined.

...

Arguments passed to individual methods (if applicable).

Value

A draws object of the same class as x.

Examples

#> [1] 100
#> [1] 4
x <- split_chains(x) niterations(x)
#> [1] 50
#> [1] 8