seqcomp | R Documentation |
Check whether two state sequences are identical.
seqcomp(x, y)
x |
a state sequence object containing a single sequence (typically the row of a main sequence
object, see |
y |
a state sequence object containing a single sequence (typically the row of a main sequence
object, see |
TRUE
if sequences are identical, FALSE
otherwise
seqfind, seqfpos, seqpm
data(mvad)
mvad.shortlab <- c("EM", "FE", "HE", "JL", "SC", "TR")
mvad.seq <- seqdef(mvad, states=mvad.shortlab, 15:86)
## Comparing sequences 1 and 2 in mvad.seq
seqcomp(mvad.seq[1,],mvad.seq[2,])
## Comparing sequences 176 and 211 in mvad.seq
seqcomp(mvad.seq[176,],mvad.seq[211,])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.