In SE functions, you need to quote the names of the variables.
plotcurves_(qp, panel =NULL, xpanel =NULL, ypanel =NULL, color =NULL, averages =TRUE, curves =TRUE, thresholds =TRUE, ci =TRUE)
Arguments
qp: output from quickpsy
panel: Name of the variable to be split in panels.
xpanel: Name of the variable to be split in horizontal panels.
ypanel: Name of the variable to be split in vertical panels.
color: Name of the variable codded by color.
averages: If FALSE averaged probabilities are not plotted (default is TRUE).
curves: If FALSE curves are not plotted (default is TRUE)
thresholds: If FALSE thresholds are not plotted (default is TRUE)
ci: If FALSE confidence intervals are not plotted (default is TRUE)
Examples
library(MPDiR)# contains the Vernier datadata(Vernier)# ?Venier for the referencefit <- quickpsy(Vernier, Phaseshift, NumUpward, N, grouping = .(Direction, WaveForm, TempFreq), B =5)plotcurves_(fit, xpanel ='Direction')plotcurves_(fit, color ='Direction')plotcurves_(fit, xpanel ='Direction', color ='WaveForm', ci =FALSE)