Learn R Programming

insight (version 0.18.6)

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, ...)

# S3 method for brmsfit get_priors(x, verbose = TRUE, ...)

Value

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

Arguments

x

A Bayesian model.

...

Currently not used.

verbose

Toggle warnings and messages.

Examples

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

Run the code above in your browser using DataLab