Skip to content

Commit

Permalink
fixed interaction plots
Browse files Browse the repository at this point in the history
  • Loading branch information
phelps-sg committed Jan 10, 2024
1 parent 0fba020 commit 9347e04
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jupyter-book/R-MixedModel.R
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,10 @@ interaction_plots <- function(participant_group, legend) {
mc.cores = 12
)
combined <- reduce(predictions, rbind)
combined <- rbind(combined, theoretical_df(participant_group))
combined <- rbind(
combined,
theoretical_df_for_group(participant_group, experiment = theoretical_dilemma)
)
names(combined)[6] <- "Model"

p <- ggplot(combined) +
Expand Down

0 comments on commit 9347e04

Please sign in to comment.