Description Usage Arguments Examples
mcmc_to_dt
use data.table to return a tidy dataframe from an "mcmc.list",
or "stan" object.
1 2 | ## S3 method for class 'mcmc.list'
mcmc_to_dt(mcmc_object, ..., colnames = NULL)
|
mcmc_object |
an object of class "mcmc.list", as you would find with
fitting a model using |
... |
additional arguments |
colnames |
which parameters we want from |
1 2 3 | library(coda)
data(line)
mcmc_to_dt(line)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.