get_prior: Get priors in brms models

get_priorR Documentation

Get priors in brms models

Description

Information about priors which may be set for a brms model. This just calls brms::get_prior but changes the output of the formatting slightly to allow for columns to be imitted from the output. Please see the help file for brms::get_prior for more information.

Usage

get_prior(formula, data, family = "gaussian", ...)

Arguments

formula

A description of the model to be fit.'

data

The data to be used by the model.

family

Information about the response distribution and/or link function.

...

additional arguments are passed to brms::get_prior.

Examples

## Not run: 
brms::get_prior (brms::bf(height ~ A*G + (A*G|L) + (1|S),
                          sigma ~ A),
                 data = exp_data, family="student")

## End(Not run)


santiagobarreda/bmmb documentation built on June 11, 2024, 5:33 p.m.