seqdim: Dimension of a set of sequences

View source: R/seqdim.R

seqdimR Documentation

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.

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.

Value

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

Author(s)

Alexis Gabadinho


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