Plots choice data with no response times.
plot_fit_choice(
data,
pp,
subject = NULL,
factors = NULL,
functions = NULL,
stat = NULL,
stat_name = "",
adjust = 1,
ci = c(0.025, 0.5, 0.975),
do_plot = TRUE,
xlim = NULL,
ylim = NULL,
main = "",
layout = NULL,
mfcol = TRUE,
signalFactor = "S",
zROC = FALSE,
qfun = qnorm,
lim = NULL,
rocfit_cex = 0.5
)If stat argument is provided a matrix of observed values and predicted quantiles is returned
A data frame. The experimental data in EMC2 format with at least subject (i.e., the
subject factor), R (i.e., the response factor) and rt (i.e., response time) variable.
Additional factor variables of the design are optional.
Posterior predictives created by predict()
Integer or string picking out subject(s).
Character vector of factors in data to display separately. If
NULL (i.e., the default), use names of all columns in data except trials,R, and rt.
Omitted factors are aggregated over. If NA, treats entire data set as a single cell.
If stat is used, the default is changed to NA.
A named list of functions that create new factors which can then be
used by the factors and stat arguments.
A function that takes a the data and returns a single value.
A string naming what the stat argument calculates.
Control of smoothing in density plots
Credible interval and central tendency quantiles for return when stat argument is supplied (defaults to the 2.5\%, the 50\% and the 97.5\% quantiles)
Boolean (defaults to TRUE) whether a plot should be created or not
x-axis plot limit, 2-vector (same for all) or matrix (one row for each paramter)
y-axis plot limit, 2-vector (same for all) or matrix (one row for each paramter)
Text title, pasted before cell name.
2-vector specifying par(mfrow) or par(mfcol). The default NULL uses current,
NA keeps par currently active.
Boolean for layout settings, the default TRUE uses mfcol, else mfrow.
Character name of factor for the signal
Boolean, plot Z transformed ROC (defaults to FALSE)
Type of Z transform (defaults to probit)
x = y limit for ROC plots
Size of points in ROC plot (default 0.5)