maxCMS | R Documentation |
Number of maximum consecutively matching striae
maxCMS(match)
match |
is a Boolean vector of matches/non-matches |
an integer value of the maximum number of consecutive matches
x <- rbinom(100, size = 1, prob = 1/3)
CMS(x == 1) # expected value for longest match is 3
maxCMS(x==1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.