This test searches for randomness in the observed data series
  x by examining the frequency of runs. A "run" is defined as a
  series of similar responses.
Note, that by using the alternative "less" the null of
  randomness is tested against some kind of "under-mixing"
  ("trend"). By using the alternative "greater" the null of 
  randomness is tested against some kind of "over-mixing"
  ("mean-reversion").
  
Missing values are not allowed.