View source: R/manipulation_seqimp.R
seqcomplete | R Documentation |
Extract all the trajectories without missing value.
seqcomplete(data, var = NULL)
data |
either 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. |
Returns either a data frame or a state sequence object, depending the type of data that was provided to the function
Kevin Emery
# Game addiction dataset
data(gameadd)
# Extract the trajectories without any missing data
gameadd.complete <- seqcomplete(gameadd, var = 1:4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.