Learn R Programming

TraMineR (version 2.2-10)

seqhasmiss: 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)

Value

List of three logical indicator vectors: has.miss, has.nr, and has.void.

Arguments

seqdata

State sequence object of class stslist.

Author

Gilbert Ritschard

Examples

Run this code
data(ex1)
s <- seqdef(ex1[,1:12])
res <- seqhasmiss(s)
res$has.nr

Run the code above in your browser using DataLab