R/single_subj_sim.R

#' @title Single subject data simulation
#'
#' @description Simulated data \code{tibble} containing a single subject responses (accuracies and rts) in two difficulty conditions
#'
#' @format A \code{tibble} with 4 columns, which are:
#' \describe{
#' \item{cond}{Difficulty condition ('Easy' or 'Difficult')}
#' \item{trial}{trial number per difficulty condition}
#' \item{choice}{Accuracy (binary)}
#' \item{rt}{Reaction Time (s), bound between 0.2 and 3 (simulated from a truncated normal distribution)}
#' }
"single_subj_sim"
SpTB/wztools documentation built on July 2, 2023, 11:50 a.m.