Plot reaction times and LATER model fit in reciprobit axes
Arguments
- plot_data
A dataframe with columns:
time,name,promptness, ande_cdf. Optionally, there may be acolorcolumn, which contains hex values, one unique hex value per named dataset- fit_params
A dataframe with one row for each named dataset and columns equal to the LATER model parameters returned by
fit_data$named_fit_params- time_breaks
Desired tick marks on the x axis, expressed in promptness (1/s)
- probit_breaks
Desired tick marks on the y axis in probit space
- z_breaks
Desired tick marks on secondary y axis, in z values
- xrange
Desired range for the x axis, in promptness (1/s)
- yrange
Desired range for the y axis, in cumulative probability space
Examples
# \donttest{
data <- rbind(
data.frame(name = "test", time = 1000/rnorm(100, 3, 1)),
data.frame(name = "test_2", time = 1000/rnorm(100, 4, 1))
) |> dplyr::filter(time > 0)
data <- prepare_data(data)
fit_params <- individual_later_fit(data)
reciprobit_plot(data, fit_params)
# }