Learn R Programming

quickpsy (version 0.1.2)

plotcurves: Plot the curves

Description

plotcurves plot the curves.

Usage

plotcurves(qp, panel = NULL, xpanel = NULL, ypanel = NULL, color = NULL,
  averages = T, curves = T, thresholds = T, ci = T)

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)

See Also

plotcurves_

Examples

Run this code
library(MPDiR) # contains the Vernier data
fit <- quickpsy(Vernier, Phaseshift, NumUpward, N,
                grouping = .(Direction, WaveForm, TempFreq), B = 10)
plotcurves(fit)
plotcurves(fit, xpanel = Direction)
plotcurves(fit, xpanel = Direction, color = WaveForm, ci = FALSE)

Run the code above in your browser using DataLab