stanBF_elicit_hyperpriors: Elicit hyperpriors to use for Stan BF

Description Usage Arguments Value

View source: R/stan_BF_hyperpriors.R

Description

Elicit hyperpriors to use for Stan BF

Usage

1
2
3
4
5
6
7
stanBF_elicit_hyperpriors(
  df_background,
  model,
  mode_hyperparameter,
  col_source = "source",
  ...
)

Arguments

df_background

the dataframe containing background data, with the source column

model

the model short name

mode_hyperparameter

how the parameters are estimated (can be 'ML' or 'vague')

col_source

quoted name of the source column (default: 'source')

...

arguments to hyperprior estimation methods

Value

a list of hyperprior parameters, as many as expected by compute_BF_Stan()


lgaborini/rstanBF documentation built on March 10, 2021, 1:12 p.m.