get_stanfit: Retrieve the stanfit object generated by rstan.

Description Usage Arguments Value Examples

View source: R/bpc_exports.R

Description

This object can be used with any other function or package that uses stanfit objects from rstan

Usage

1
get_stanfit(bpc_object)

Arguments

bpc_object

a bpc object

Value

a stanfit object

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')
stanfit<- get_stanfit(m)
print(class(stanfit))

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