individual_ROF: Plot ROF for all Facts for all Participants over Time

View source: R/individual_ROF.R

individual_ROFR Documentation

Plot ROF for all Facts for all Participants over Time

Description

individual_ROF plots the rate of forgetting (alpha) of all sessions over time. Incorrect answers are denoted with a red marker.

Usage

individual_ROF(
  data,
  session = NULL,
  normalizeTime = 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 session 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.

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(0.10, 0.5).

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_RT()


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