Learn R Programming

TraMineR (version 2.2-10)

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)

Value

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

Arguments

seqdata

a set of sequences.

Author

Alexis Gabadinho

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.