invisibility_rm | R Documentation |
A dataset from Field, A. P. (2023). Discovering statistics using R and RStudio (2nd ed.). London: Sage.
invisibility_rm
A tibble with 24 rows and 3 variables.
I got very excited by two news stories implying that scientists had made Harry Potter's cloak of invisibility. Although the newspapers overstated the case, I imagined a future in which we have cloaks of invisibility to test out. Given my slightly mischievous streak, the future me is interested in the effect that wearing a cloak of invisibility has on the tendency for mischief. I take 12 participants and place them in an enclosed community. The community is riddled with hidden cameras so that we can record mischievous acts. For one week the participants are given cloaks of invisibility, during a different week they are not. I measure how many mischievous acts they performed in each week. These data are the same as in invisibility_cloak but arranged in a repeated measures design. The object contains the following variables:
id: participant id
cloak: whether the participant had access to a cloak of invisibility
mischief: the number of mischievous acts committed during a week
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.