plotthresholds: Plot the thresholds

Description Usage Arguments See Also Examples

View source: R/plotthresholds.R

Description

plotthresholds plot the thresholds.

Usage

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

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

1
2
3
4
5
6
7
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')

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

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