View source: R/stan_summaries2.R View source: R/stan_predictions.R
extract_preds | R Documentation |
The summary object is assumed to to be 2D (subjID, trial) or 3D (subjID, game, trial), but should work for 1D -> in 1D case (leaves only trials as the grouping var)
extract_preds(cmdstan_summary, preds = c("d_pred", "r_pred"))
extract_preds(cmdstan_summary, preds = c("d_pred", "r_pred"))
cmdstan_summary |
a cmdstan summary object |
preds |
a list of predictor names |
a dataframe containing predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.