Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot

Wiener plot function


Description

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

Usage

## 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

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

## plot
plot(dat)

RWiener

Wiener Process Distribution Functions

v1.3-3
GPL (>= 2)
Authors
Dominik Wabersich [aut, cre]
Initial release
2020-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.