individual_RT: Plot RT for all Facts for all Participants over Time

View source: R/individual_RT.R

individual_RTR Documentation

Plot RT for all Facts for all Participants over Time

Description

individual_RT plots the RT of all sessions over time. Incorrect answers are denoted with a red marker.

Usage

individual_RT(
  data,
  session = NULL,
  normalizeTime = FALSE,
  logarithmic = FALSE,
  xlim = NULL,
  ylim = NULL,
  filepath = NULL
)

Arguments

data

A data frame. NA values will be removed before plotting.

session

Provide a single sessionId string to plot that session. If sessionId is NULL all sessions will be plotted.

normalizeTime

If TRUE, the times of all facts will be normalized (they will start at 0). If FALSE, the times will not be normalized and data points will occur relative to their occurrence during the session.

logarithmic

If TRUE, the x-axis will be logarithmic. If FALSE (the default), the x-axis will have a linear scale.

xlim

A vector of 2 (for example: c(0, 10)), indicating the range of the x-axis.If NULL the default value is used: c(0, z). Where z is the max time.

ylim

A vector of 2 (for example: c(0, 10)), indicating the range of the y-axis.If NULL the default value is used: c(a, b). Where a is the minimum reaction time and b is the average reaction time plus the standard deviation of the reaction time.

filepath

A relative or explicit path where plots will be saved

Value

A preview plot in the viewer and a pdf file in filepath

See Also

Other individual functions: individual_ROF()


VanRijnLab/SlimStampeRData documentation built on July 26, 2022, 7:31 p.m.