thin.default: Thin MCMC Object

Description Usage Arguments Value Examples

View source: R/thin.R

Description

Thins an MCMC object's iterations.

Usage

1
2
## Default S3 method:
thin(x, nthin = 1L, ...)

Arguments

x

An object.

nthin

A positive integer of the thinning rate.

...

Unused.

Value

The thinned MCMC object.

Examples

1
thin(nlists(nlist(x = 1), nlist(x = 2), nlist(x = 3), nlist(x = 4)), nthin = 2)

nlist documentation built on Sept. 5, 2021, 6:05 p.m.