plotcurves: Plot the curves

Description Usage Arguments See Also Examples

View source: R/plotcurves.R

Description

plotcurves plot the curves.

Usage

1
2
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

1
2
3
4
5
6
library(MPDiR) # contains the Vernier data
fit <- quickpsy(Vernier, Phaseshift, NumUpward, N,
                grouping = .(Direction, WaveForm, TempFreq), B = 5)
plotcurves(fit)
plotcurves(fit, xpanel = Direction)
plotcurves(fit, xpanel = Direction, color = WaveForm, ci = FALSE)

Example output

Loading required package: DEoptim
Loading required package: parallel

DEoptim package
Differential Evolution algorithm in R
Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich

Loading required package: dplyr

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Loading required package: ggplot2

Attaching package: 'quickpsy'

The following object is masked from 'package:stats':

    deviance

Warning: Ignoring unknown aesthetics: x
Warning: Ignoring unknown aesthetics: x

quickpsy documentation built on Oct. 2, 2019, 5:03 p.m.