plot: Wiener plot function

Description Usage Arguments References Examples

Description

plot creates a density plot of correct and wrong responses for a given dataset.

Usage

1
2
## S3 method for class 'data.wiener'
plot(x, ...)

Arguments

x

data.wiener object, which is basically a data.frame with data. Needs a reaction time column and a accuracy/response column.

...

Arguments to be passed to methods, such as graphical parameters.

References

Wabersich, D., & Vandekerckhove, J. (2014). The RWiener package: An R package providing distribution functions for the Wiener diffusion model. The R Journal, 6(1), 49-56.

Examples

1
2
3
4
5
## generate random data
dat <- rwiener(100,2,.3,.5,0)

## plot
plot(dat)

yeagle/RWiener documentation built on May 5, 2020, 3:47 a.m.