Learn R Programming

quickpsy (version 0.1.2)

plotthresholds: Plot the thresholds

Description

plotthresholds plot the thresholds.

Usage

plotthresholds(qp, x = NULL, panel = NULL, xpanel = NULL, ypanel = NULL,
  color = NULL, geom = "bar", ci = T, sizeerrorbar = 1)

Arguments

qp
output from quickpsy.
x
Name of the variable to displayed in the x-axis.
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.
geom
If 'bar' displays bars.
ci
If FALSE confidence intervals are not plotted (default is TRUE).
sizeerrorbar
Line width of the error bars. If 'point' displays points (default is 'bar').

See Also

plotthresholds_

Examples

Run this code
library(MPDiR) # contains the Vernier data
fit <- quickpsy(Vernier, Phaseshift, NumUpward, N,
                grouping = .(Direction, WaveForm, TempFreq), B = 10)
plotthresholds(fit)
plotthresholds(fit, x = WaveForm)
plotthresholds(fit, xpanel = Direction)
plotthresholds(fit, color = Direction, ypanel = WaveForm, geom = 'point')

Run the code above in your browser using DataLab