get_stanfit {bpcs}R Documentation

Retrieve the stanfit object generated by rstan.

Description

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

Usage

get_stanfit(bpc_object)

Arguments

bpc_object

a bpc object

Value

a stanfit object

Examples


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))


[Package bpcs version 1.0.0 Index]