R/data_smalldata.R

# smalldata ----
#' Small Factorial Design: 2w*2b
#'
#' Small simulated dataset (n = 5) with one within-subject factor (time) having 2 levels (pre and post) and one beteen-subject factor (group) having two levels (control and experimental). The dataset is in wide format and created with faux.
#'
#' @format A data frame with 10 rows and 4 variables:
#' \describe{
#'    \item{id}{Subject ID}
#'    \item{group}{Between-subject factor (control vs experimental group)}
#'    \item{pre}{Score before the intervention}
#'    \item{post}{Score after the intervention}
#' }
#' @source \url{https://psyteachr.github.io/reprores-v2/data/smalldata.csv}
"smalldata"
PsyTeachR/reprores-v2 documentation built on Sept. 26, 2022, 10:06 a.m.