alzheimer_test {fun} | R Documentation |
Test Alzheimer's disease by finding out the different character in a character rectangle
Description
Please try hard to find the letter "N" in 300 "M"s, one "6" in 300 "9"s, etc.
Usage
alzheimer_test(
char1 = c("9", "O", "M", "I", "F", "D"),
char2 = c("6", "C", "N", "T", "E", "O"),
nr = 10,
nc = 30,
seed = NULL,
...
)
Arguments
char1 |
the 'background' character |
char2 |
the character to be found out |
nr |
number of rows of the character rectangle |
nc |
number of columns |
seed |
seed for random number generation |
... |
other arguments passed to |
Value
If at least one test item has been passed, a data.frame will be returned telling the result of the test.
Note
Don't be too serious about this test. I'm no doctor, but I think this will be a good present to your friends.
Author(s)
Yihui Xie <https://yihui.org>
Examples
## Not run:
x = alzheimer_test()
## End(Not run)
[Package fun version 0.3 Index]