seqcomplete {seqimpute}R Documentation

Extract all the trajectories without missing value.

Description

Extract all the trajectories without missing value.

Usage

seqcomplete(data, var = NULL)

Arguments

data

either a data frame containing sequences of a multinomial variable with missing data (coded as NA) or a state sequence object built with the TraMineR package

var

the list of columns containing the trajectories. Default is NULL, i.e. all the columns.

Value

Returns either a data frame or a state sequence object, depending the type of data that was provided to the function

Author(s)

Kevin Emery

Examples


# Game addiction dataset
data(gameadd)
# Extract the trajectories without any missing data
gameadd.complete <- seqcomplete(gameadd, var = 1:4)




[Package seqimpute version 2.0.0 Index]