R/ufs.R

#' testRetestSimData is a simulated dataframe used to demonstrate the
#' testRetestAlpha coefficient function.
#'
#' This dataset contains the true scores of 250 participants on some variable,
#' and 10 items of a scale administered twice (at t0 and at t1).
#'
#' This dataset was generated with the code in the reliabilityTest.r test
#' script.
#'
#' @name testRetestSimData
#' @docType data
#' @format A data frame with 250 observations on the following 21 variables.
#' \describe{ \item{trueScore}{The true scores}
#' \item{t0_item1}{Score on item 1 at test}
#' \item{t0_item2}{Score on item 2 at test}
#' \item{t0_item3}{Score on item 3 at test}
#' \item{t0_item4}{Score on item 4 at test}
#' \item{t0_item5}{Score on item 5 at test}
#' \item{t0_item6}{Score on item 6 at test}
#' \item{t0_item7}{Score on item 7 at test}
#' \item{t0_item8}{Score on item 8 at test}
#' \item{t0_item9}{Score on item 9 at test}
#' \item{t0_item10}{Score on item 10 at test}
#' \item{t1_item1}{Score on item 1 at retest}
#' \item{t1_item2}{Score on item 2 at retest}
#' \item{t1_item3}{Score on item 3 at retest}
#' \item{t1_item4}{Score on item 4 at retest}
#' \item{t1_item5}{Score on item 5 at retest}
#' \item{t1_item6}{Score on item 6 at retest}
#' \item{t1_item7}{Score on item 7 at retest}
#' \item{t1_item8}{Score on item 8 at retest}
#' \item{t1_item9}{Score on item 9 at retest}
#' \item{t1_item10}{Score on item 10 at retest}}
#' @author Gjalt-Jorn Peters
#'
#' Maintainer: Gjalt-Jorn Peters <gjalt-jorn@@userfriendlyscience.com>
#' @keywords datasets
#' @examples
#'
#' data(testRetestSimData);
#' head(testRetestSimData);
#' hist(testRetestSimData$t0_item1);
#' cor(testRetestSimData);
#'
NULL

Try the ufs package in your browser

Any scripts or data that you put into this service are public.

ufs documentation built on July 9, 2023, 6:07 p.m.