seqMat | R Documentation |
calculates a sequence matrix from consecutive TRUE/FALSE vector
seqMat(x)
x |
a logical vector of consecutive occurances |
a matrix with transition probabilities
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.