Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

BRugs (version 0.9-2.1)

samplesSetting: Change settings used for calculations

Description

These low level functions can be used to set begin, end, and thinning of chains as well as the first/last chain of the stored sample.

Usage

samplesSetBeg(begIt)
samplesSetEnd(endIt)
samplesSetThin(thin)
samplesSetFirstChain(first)
samplesSetLastChain(last)

Arguments

begIt

First iteration of the stored sample used for calculating statistics.

endIt

Last iteration of the stored sample used for calculating statistics.

thin

Every thin-th iteration of each chain is used to contribute to the statistics being calculated.

first, last

First/last chain of the stored sample used for calculating statistics.

Details

samplesSetBeg sets the first iteration of the stored sample used for calculating statistics to begIt.

samplesSetEnd sets the last iteration of the stored sample used for calculating statistics to endIt.

samplesSetThin sets the numerical field used to select every thin-th iteration of each chain to contribute to the statistics being calculated.

samplesSetFirstChain is used to set the first chain of the stored sample used for calculating statistics to be first.

samplesSetLastChain is used to set the last chain of the stored sample used for calculating statistics to be last.

See Also

BRugs, help.WinBUGS