Description Usage Arguments Examples
This function calculates the acceptance rate for samples stored in a data frame.
1 | acceptRate(df, burn = 0)
|
df |
A data frame of samples. Rows correspond with iterations, and columns with parameters. |
burn |
Number of rows you want to discard as burn in. Defaults to 0. |
1 2 | fake_samples <- data.frame(rnorm(100))
acceptRate(fake_samples)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.