R/coins.R

#' Coin Tossing
#'
#' Med school students trying to toss heads.
#'
#' Thirteen participants each tossed a coin 300 times.
#'
#' @format A data frame with 13 observations of 3 variables
#' \describe{
#'   \item{id}{participant number}
#'   \item{heads}{number of heads tossed}
#'   \item{tails}{number of tails tossed}
#' }
#'
#' From the authors: "The toss of a coin has been a method used to determine random outcomes for centuries. It is still used in some research studies as a method of randomization, although it has largely been discredited as a valid randomization method. We sought to provide evidence that the toss of a coin can be manipulated."
#'
#' @source https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2789164/
"coins"
speegled/bayeta documentation built on May 12, 2024, 2:09 p.m.