alzheimer.test: Test Alzheimer's Disease by Finding out the Different...

Description Usage Arguments Details Value Note Author(s) Examples

Description

Please try hard to find the letter "N" in 300 "M"s, one "6" in 300 "9"s, etc.

Usage

1
2
3
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 set.seed

Details

Follow the guidelines and finish the test.

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

Examples

1
2
3
4
## Not run: 
if (interactive()) x = alzheimer.test()

## End(Not run)

fun documentation built on May 2, 2019, 6:06 p.m.