plot_splt_sim_behavior.RdPlot simulated SPLT behavior
plot_splt_sim_behavior(splt_df, press_right, se = T)
| splt_df | a data frame from the SPLT, with non-response
( |
|---|---|
| press_right | an individual x trial matrix of trial responses |
| se | plot the standard error around smooth lines |
a plot split by sample, and overall summary plot
If press_right is a single matrix, returns a list of plots: one
across all samples ($sample), and one overall ($overall). If
press_right is a list of matrices, the plot returned does not group by
sample, returning an overall plot that contains the additional variable
sim that can be used in a facet expression. For use with gganimate,
note that the frame aesthetic is set to sim.