Learn R Programming

quickpsy (version 0.1.2)

plotcurves_: Plot the curves

Description

plotcurves_ is the standard evaluation SE function associated to the non-standard evaluation NSE function plotcurves. http://adv-r.had.co.nz/Computing-on-the-language.html{SE functions can be more easily called from other functions.} In SE functions, you need to quote the names of the variables.

Usage

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)

See Also

plotcurves

Examples

Run this code
library(MPDiR) # contains the Vernier data
data(Vernier) # ?Venier for the reference
fit <- quickpsy(Vernier, Phaseshift, NumUpward, N,
                grouping = .(Direction, WaveForm, TempFreq), B = 10)

plotcurves_(fit, xpanel = 'Direction')
plotcurves_(fit, color = 'Direction')
plotcurves_(fit, xpanel = 'Direction', color = 'WaveForm', ci = FALSE)

Run the code above in your browser using DataLab