View source: R/check_learning_models.R
check_learning_models | R Documentation |
This function is called automatically by fit_learning_model()
when
model_checks = TRUE
, but can also be run separately if desired.
check_learning_models(
draws,
test = FALSE,
mean_pars = TRUE,
diagnostic_plots = TRUE,
alpha_par_nms = NA,
pal = NULL,
font = "",
font_size = 11
)
draws |
Post-warmup draws - either a |
test |
Boolean indicating whether recovered parameters are from the test phase. |
mean_pars |
Output a plot of the mean parameters? |
diagnostic_plots |
Output diagnostic traces and histograms? Requires the bayesplot package. |
alpha_par_nms |
Option to rename learning rate parameters for models with more than one. |
pal , font , font_size |
Same as plot_import. |
Either a single or named list
of ggplot
objects.
## Not run:
data(example_data)
fit <- fit_learning_model(
example_data$nd,
model = "2a",
vb = FALSE,
exp_part = "training"
)
model_checks <- check_learning_models(fit$draws)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.