Description Usage Arguments Value Examples
Summarize the mcmc sample that lives in a dataframe, return the summary of each column as a row of present table.
1 | sum_samples(sample_df)
|
sample_df: |
the dataframe whose columns are the mcmc chains of parameters. |
a dataframe that summarizes the posterior samples
1 2 3 4 | x = rnorm(1000)
y = rnorm(1000, 10, 1)
output=cbind(x=x, y=y)
sum_samples(output)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.