split_chains {posterior}R Documentation

Split Chains

Description

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

Usage

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

x <- example_draws()
niterations(x)
nchains(x)

x <- split_chains(x)
niterations(x)
nchains(x)


[Package posterior version 1.5.0 Index]