Learn R Programming

insight (version 0.6.0)

get_priors: Get summary of priors used for a model

Description

Provides a summary of the prior distributions used for the parameters in a given model.

Usage

get_priors(x, ...)

Arguments

x

A Bayesian model.

...

Currently not used.

Value

A data frame with a summary of the prior distributions used for the parameters in a given model.

Examples

Run this code
# NOT RUN {
library(rstanarm)
model <- stan_glm(Sepal.Width ~ Species * Petal.Length, data = iris)
get_priors(model)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab