R: Dimension of a set of sequences

seqdim {TraMineR} | R 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

[Package TraMineR version 2.2-3 Index]