Learn R Programming

posterior (version 1.6.0)

split_chains: Split Chains

Description

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

Usage

split_chains(x, ...)

Value

A draws object of the same class as x.

Arguments

x

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

...

Arguments passed to individual methods (if applicable).

Examples

Run this code
x <- example_draws()
niterations(x)
nchains(x)

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

Run the code above in your browser using DataLab