animal_dance | R Documentation |
A dataset from Field, A. P. (2023). Discovering statistics using R and RStudio (2nd ed.). London: Sage.
animal_dance
A tibble with 270 rows and 3 variables.
Fictional data about dancing cats and dogs. A researcher was interested in whether animals could be trained to dance. He took 200 cats and 70 dogs 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:
training: factor describing whether the animal was trained using food of affection as a reward
dance: factor describing whether the cat danced or not
animal: factor describing whether the animal was a cat or a dog
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.