Lab of Exploratory Sequence Data Analysis

Goal

The goal of this lab is to construct a sequence and perform a simple analysis of the sequence.

The code below reads in the data described in the chapter. This data is synthetic and developed based on other game data for the purpose of analysis. Furthermore, for the purposes of clarity and efficiency, we’ll use a small dataset of 50 sequences. We’ll try the functions below with the larger dataset, such as the one that is uploaded with this chapter with 30,000 sequences.

For the purpose of sequence analysis, we’ll use the TraMineR library. Therefore, we’ll load this library first.

Get hands-on with 1200+ tech skills courses.