
Last chance! 50% off unlimited learning
Sale ends in
Defines the class bpc and creates the bpc object. To create we need to receive some defined parameters (the arguments from the bpc function), a lookup table and a the stanfit object generated from the rstan sampling procedure
create_bpc_object(
stanfit,
lookup_table,
model_type,
standata,
call_arg,
cluster_lookup_table = NULL,
predictors_df = NULL,
predictors_lookup_table = NULL,
predictors_matrix = NULL
)
Stanfit object returned by rstan::sampling
lookup_table dataframe. Two columns one Index the other Names where each each index will match a string in the names
the type of the model used to call stan (string)
a list with the data used to call the rstan::sampling procedure
a list with the arguments called from the bpc function
a lookup table with we have random effects
the data frame of the predictors for a generalized model
a lookup table for generalized models
a matrix of predictors for generalized models
a bpc object