thinBUGSSamples: Thin BUGS Samples

Description Usage Arguments Value Examples

View source: R/thinBUGSSamples.R

Description

Used when necessary with a warning to thin samples so that the number per chain is consistent across fits.

Usage

1
2
3
4
5
6
7
8
thinBUGSSamples(
  fit,
  n.thin = 1,
  first = 1,
  last = fit$bugsFit$n.keep,
  which,
  chains = 1:fit$bugsFit$n.chains
)

Arguments

fit

fit

n.thin

number to thin

first

first

last

last

which

which

chains

chains

Value

thinner samples

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
thinBUGSSamples(fit,
                n.thin = 1,
                first = 1,
                last = fit$bugsFit$n.keep,
                which,
                chains = 1:fit$bugsFit$n.chains)

## End(Not run)

aquaMetrics/fcs2 documentation built on Aug. 21, 2021, 12:55 p.m.