alzheimer_test: Test Alzheimer's disease by finding out the different...

Description Usage Arguments Value Note Author(s) Examples

View source: R/alzheimer_test.R

Description

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

Usage

1
2
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

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 <http://yihui.name>

Examples

1
2
3
4
## Not run: 
x = alzheimer_test()

## End(Not run)

fun documentation built on Dec. 5, 2018, 9:04 a.m.