All functions

available_models()

Get available models in rstanBF

compute_BF_Stan()

Sample and compute BF for various models using Stan

fun_estimate_DirDirGamma_hyperparameter()

Compute Dirichlet-DirichletGamma hyperparameters, using 'MLE' estimators

fun_estimate_DirDir_hyperparameter()

Compute Dirichlet hyperparameters, using 'MLE' or 'naive' estimators

fun_estimate_Dirichlet_from_samples()

Estimate Dirichlet parameters for samples from multiple sources

fun_estimate_Dirichlet_from_single_source()

Estimate Dirichlet parameter from a dataframe using ML or naive estimator

is.stanBF()

Check if an object is a stanBF object

label_parse()

ggplot2 labeller function for plotmath labels

make_tbl_variable_range()

Make a tibble with columns representing a range

named_vector_to_tibble()

Convert a named vector to a tibble

plot_posteriors()

Plot posterior distributions of a stanBF object

plot_posteriors(<stanBF_turn>)

Make boxplots for turn-point posteriors

posterior_pred()

Extract posterior predictive distributions

print(<stanBF>)

Print a stanBF object

prior_pred()

Extract prior predictive distributions

replace_names()

Replace names using a pattern.

rstanBF-package

The 'rstanBF' package.

samples()

Extract posterior samples from a stanBF object

stanBF_elicit_hyperpriors()

Elicit hyperpriors to use for Stan BF

stanBF_prepare_rsamplestudy_data()

Convert the output of rsamplestudy to rstanBF data parameter

samples(<stanBF_turn>) prior_pred(<stanBF_turn>) posterior_pred(<stanBF_turn>)

Extract theta posterior samples for a turn-like object