How to find the number of runs in the following
aaaabbabbbaabba
bbaaaaaabbbbaaaaaaa
|
How to find the number of runs in the following
|
|||||
|
|
If you want do this in R, check out the For example:
See also this related question on Stack Overflow on counting runs in R |
||||
|
|
|
Quoting http://en.wikipedia.org/wiki/Wald-Wolfowitz_runs_test:
In your case
|
|||
|
|