Description Usage Arguments Value Examples
This lets you extract the contents of a posterior to a data frame. You can select parameters to keep and drop.
1 2 | extractPost(fit, keeppars = NULL, droppars = c("log_lik", "ySim",
"yTest", "deviance", "omega", "lambda"))
|
fit |
the model |
keeppars |
parameters to keep. Defaults to NULL (implying anything is kept that's not in droppars) |
droppars |
parameters to drop. Defaults to c("log_lik", "ySim", "yTest", "deviance", "omega", "lambda") |
a data frame
1 | extract(out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.