Learn R Programming

TraMineR (version 1.8-9)

seqdim: Dimension of a set of sequences

Description

Returns the number of sequences (rows) and the maximum length of a set of sequences.

Usage

seqdim(seqdata)

Arguments

seqdata
a set of sequences.

Value

  • a vector with the number of sequences and the maximum sequence length.

Details

The function will first search for separators '-' or ':' in the sequences in order to detect wether they are in the compressed or extended format.