cat_dance | R Documentation |
A dataset from Field, A. P. (2023). Discovering statistics using R and RStudio (2nd ed.). London: Sage.
cat_dance
A tibble with 200 rows and 2 variables.
Fictional data about dancing cats. A researcher was interested in whether animals could be trained to dance. He took 200 cats and tried to train them to line-dance by giving them either food or affection as a reward for dance-like behaviour. At the end of the week he counted how many animals could line-dance and how many could not. The object contains the following variables:
reward: factor describing whether the cat was trained using food of affection as a reward
dance: factor describing whether the cat danced or not
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.