seqhasmiss {TraMineR} | R Documentation |
Count and identification of sequences with nr and void missings
Description
The function prints the counts of sequences with included (nr) and ignored (void) missings. It returns invisibly three logical vectors with TRUE
for sequences with nr or void missing (has.miss
), included missing (has.nr
), and ignored missing (has.void
) respectively.
Usage
seqhasmiss(seqdata)
Arguments
seqdata |
State sequence object of class |
Value
List of three logical indicator vectors: has.miss
, has.nr
, and has.void
.
Author(s)
Gilbert Ritschard
Examples
data(ex1)
s <- seqdef(ex1[,1:12])
res <- seqhasmiss(s)
res$has.nr
[Package TraMineR version 2.2-10 Index]