angry_pigs | R Documentation |
A dataset from Field, A. P. (2023). Discovering statistics using R and RStudio (2nd ed.). London: Sage.
angry_pigs
A tibble with 336 rows and 4 variables
Angry Birds is a video game in which you fire birds at pigs. A (fabricated) study was set up in which people played Angry Birds and a control game (Tetris) over a 2-year period (1 year per game). They were put in a pen of pigs for a day before the study, and after 1 month, 6 months and 12 months. Their violent acts towards the pigs were counted. The (fictional) data contains
id: participant ID
game: whether the participant had been assigned to play angry pigs or tetris
time: the time at which aggressive acts were measured (Baseline, 1 month, 6 months and 12 months)
aggression: the number of aggressive acts towards pigs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.