get_hpdi_parameters: Return the mean and the HPDI of the parameters of the model

Description Usage Arguments Value Examples

View source: R/bpc_exports.R

Description

Return a data frame with the mean and with high and low 95% hpd interval for all parameters of the model

Usage

1
get_hpdi_parameters(bpc_object)

Arguments

bpc_object

a bpc object

Value

a data frame containing a column with the parameters, a column with mean and two columns with higher and lower hpdi

Examples

1
2
3
4
5
6
7
8
m<-bpc(data = tennis_agresti,
player0 = 'player0',
player1 = 'player1',
result_column = 'y',
model_type = 'bt',
solve_ties = 'none')
hpdi<-get_hpdi_parameters(m)
print(hpdi)

bpcs documentation built on Dec. 15, 2020, 5:23 p.m.