Description Usage Arguments Examples
This function calculates a running mean for columns of a data frame.
1 | runningMeans(df, cols, burn = 0)
|
df |
A data frame of samples. Rows correspond with iterations, and columns with parameters. |
cols |
column indices for the columns you want to look at. |
burn |
Number of rows you want to discard as burn in. Defaults to 0. |
1 2 | fake_samples <- data.frame(rnorm(100))
plot(runningMeans(fake_samples, 1), type ="l")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.