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
3
4
5
6
7
8
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 <https://yihui.org>

Examples

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

## End(Not run)

Example output



fun documentation built on Oct. 24, 2020, 1:07 a.m.