make_stan_list | R Documentation |
Making a stan-compatible data list
make_stan_list(
dat,
model_struct_list = NULL,
fixed_pars = NULL,
var_names,
grouping_vars = c("subjID", "game", "trial"),
grouping_vars_stan_names = c("numSubj", "numGames", "numTrials"),
hierarchical = T,
ssm_prepro = F,
add_ranges = T,
add_fixed_pars = T,
add_gammas = T
)
dat |
original dataframe |
var_names |
output variables (choice, rt, outcome, etc...) |
grouping_vars |
grouping variables (subjID, games, trials) |
grouping_vars_stan_names |
specifying the grouping variable stan-names |
hierarchical |
whether the dataset is multi-subject (T) or not (F) |
ssm_prepro |
whether to include lower RT bounds for sequential sampling models input |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.