Description Usage Arguments Value
Gather_samples is built off tidyr
's gather
function, which
takes multiple columns and collapses into key-value pairs with other
columns being "stack", "iteration".
1 2 | gather_samples(data, pars = NULL, drop = stateline_sample_names(),
thin = NULL)
|
data |
A single data.frame or list of data.frames |
pars |
List of parameters to include |
drop |
List of columns to drop. By default stateline's extra columns (energy, sigma, beta, accepted, swap_type) are removed. |
thin |
If set to a numeric value, will thin samples down to
specified length using |
data.frame with columns stack, iteration, parameter, value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.