seqhasmiss: Count and identification of sequences with nr and void...

View source: R/seqhasmiss.R

seqhasmissR 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 stslist.

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

TraMineR documentation built on May 29, 2024, 5 a.m.