Analyzing and Visualizing State Sequences in<i>R</i>with<b>TraMineR</b>

Alexis Gabadinho, Gilbert Ritschard, Nicolas S. Müller, Matthias Studer

Journal of Statistical Software · 2011 · 1.3K citations · 29 references

DOIFull text

Open access

Concepts

TL;DR

The article introduces TraMineR, a toolbox for analyzing and visualizing categorical state sequences in R. TraMineR implements a state‑sequence object that stores sequences with attributes and provides functions to compute aggregated views, longitudinal characteristics, dissimilarities, and to generate consistent visualizations. Using TraMineR, users can perform clustering and statistical modeling of sequence data based on the generated outcomes.

Abstract

This article describes the many capabilities offered by the <strong>TraMineR</strong> toolbox for categorical sequence data. It focuses more specifically on the analysis and rendering of state sequences. Addressed features include the description of sets of sequences by means of transversal aggregated views, the computation of longitudinal characteristics of individual sequences and the measure of pairwise dissimilarities. Special emphasis is put on the multiple ways of visualizing sequences. The core element of the package is the state se- quence object in which we store the set of sequences together with attributes such as the alphabet, state labels and the color palette. The functions can then easily retrieve this information to ensure presentation homogeneity across all printed and graphical displays. The article also demonstrates how <strong>TraMineR</strong>’s outcomes give access to advanced analyses such as clustering and statistical modeling of sequence data.

References

29