Learn R Programming

openintro (version 2.4.0)

yawn: Contagiousness of yawning

Description

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).

Usage

yawn

Arguments

Format

A data frame with 50 observations on the following 2 variables.

result

a factor with levels not yawn yawn

group

a factor with levels ctrl trmt

Examples

Run this code

yawn

Run the code above in your browser using DataLab