seqTrans {seqimpute} | R Documentation |
Spotting impossible transitions in longitudinal categorical data
Description
The purpose of seqTrans
is to spot impossible transitions
in longitudinal categorical data.
Usage
seqTrans(data, var = NULL, trans)
Arguments
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 |
|
Value
It returns a matrix where each row is the position of an impossible transition.
Author(s)
Andre Berchtold and Kevin Emery
Examples
data(gameadd)
seqTransList <- seqTrans(data = gameadd, var = 1:4, trans = c("yes->no"))
[Package seqimpute version 2.0.0 Index]