View source: R/brm_marginal_grid.R
brm_marginal_grid | R Documentation |
Describe the column names of the data frames output
by brm_marginal_draws()
.
brm_marginal_grid(data, formula)
data |
A classed data frame from |
formula |
An object of class |
Useful for creating custom posterior summaries from the draws.
A data frame with a name
column with the names of columns of
data frames in brm_marginal_draws()
, along with metadata to
describe which groups, subgroups, and time points those columns
correspond to.
Other marginals:
brm_marginal_data()
,
brm_marginal_draws()
,
brm_marginal_draws_average()
,
brm_marginal_probabilities()
,
brm_marginal_summaries()
data <- brm_simulate_outline()
brm_marginal_grid(data, brm_formula(data))
data <- brm_simulate_outline(n_subgroup = 2L)
brm_marginal_grid(data, brm_formula(data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.