View source: R/model_fitting.R
transform_gibbs_samples | R Documentation |
This function normalizes, burns and thins the Gibbs samples.
transform_gibbs_samples(gibbs_samples, R, B, Q, normalization)
gibbs_samples |
The output of
|
R |
The number of iterations of the Gibbs sampler. |
B |
The length of the burn-in period, i.e. a non-negative number of samples to be discarded. |
Q |
The thinning factor for the Gibbs samples, i.e. only every |
normalization |
An object of class |
A list, the first element gibbs_sampes_raw
is the input
gibbs_samples
, the second element is the normalized, burned, and
thinned version of gibbs_samples
called gibbs_samples_nbt
.
The list gets the class RprobitB_gibbs_samples
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.