correctThin {BayesianTools} | R Documentation |
Checks if thin is consistent with nTotalSamples samples and if not corrects it.
Description
Checks if thin is consistent with nTotalSamples samples and if not corrects it.
Usage
correctThin(nTotalSamples, thin, autoThinFraction = 0.001)
Arguments
nTotalSamples |
total number of rows/samples |
thin |
thinning |
autoThinFraction |
fraction of the data that will be sampled when thin is set to "auto". E.g. 0.5 means thin will be nTotalSamples * 0.5. The resulting thin value is rounded down to the next integer. |
Details
Checks if the thin argument is consistent with the data consisting of nTotalSamples samples/rows and corrects thin if not.
Author(s)
Tankred Ott
[Package BayesianTools version 0.1.8 Index]