seqTrans | R Documentation |
The purpose of seqTrans
is to spot impossible transitions
in longitudinal categorical data.
seqTrans(data, var = NULL, trans)
data |
a data frame containing sequences of a multinomial
variable with missing data (coded as |
var |
the list of columns containing the trajectories. Default is NULL, i.e. all the columns. |
trans |
|
It returns a matrix where each row is the position of an impossible transition.
Andre Berchtold and Kevin Emery
data(gameadd)
seqTransList <- seqTrans(data = gameadd, var = 1:4, trans = c("yes->no"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.