seqhasmiss | R Documentation |
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.
seqhasmiss(seqdata)
seqdata |
State sequence object of class |
List of three logical indicator vectors: has.miss
, has.nr
, and has.void
.
Gilbert Ritschard
data(ex1)
s <- seqdef(ex1[,1:12])
res <- seqhasmiss(s)
res$has.nr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.