RWiener (version 1.3-1)

plot: Wiener plot function

Description

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

Usage

# S3 method for 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

Run this code
# NOT RUN {
## generate random data
dat <- rwiener(100,2,.3,.5,0)

## plot
plot(dat)
# }

Run the code above in your browser using DataLab