R/data-yawn.R

#' Contagiousness of yawning
#'
#' An experiment conducted by the MythBusters, a science entertainment TV
#' program on the Discovery Channel, tested if a person can be subconsciously
#' influenced into yawning if another person near them yawns. 50 people were
#' randomly assigned to two groups: 34 to a group where a person near them
#' yawned (treatment) and 16 to a group where there wasn't a person yawning
#' near them (control).
#'
#'
#' @name yawn
#' @docType data
#' @format A data frame with 50 observations on the following 2 variables.
#' \describe{
#'   \item{result}{a factor with levels \code{not yawn} \code{yawn}}
#'   \item{group}{a factor with levels \code{ctrl} \code{trmt}}
#'   }
#' @source MythBusters, Season 3, Episode 28.
#' @keywords datasets
#' @examples
#'
#' yawn
"yawn"
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.