Description Usage Arguments Value Examples

View source: R/McmcOptions-methods.R

Compute the number of samples for a given MCMC options triple

1 | ```
sampleSize(mcmcOptions)
``` |

`mcmcOptions` |
the |

the resulting sample size

1 2 3 4 5 6 7 | ```
# Set up MCMC option in order to have a burn-in of 10000 iterations and
# then take every other iteration up to a collection of 10000 samples
options <- McmcOptions(burnin=10000,
step=2,
samples=10000)
sampleSize(options)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.