Learn R Programming

seqhandbook

Miscellaneous Tools for Sequence Analysis

This R package complements the handbook on sequence analysis "L'analyse statistique des trajectoires" (see references).

It provides the datasets used in the examples in the handbook, as well as functions for :

  • describing episodes in individual sequences (at least one episode, number of episodes, position of the start of the first episode)
  • measuring association between domains in multidimensional sequence analysis
  • heat maps of sequence data
  • Globally Interdependent Multidimensional Sequence Analysis (GIMSA)
  • smoothing sequences for index plots
  • coding sequences for Qualitative Harmonic Analysis
  • measuring stress from MDS factors
  • symmetrical PLS

installation

Execute the following code within R:

if (!require(devtools)){
    install.packages('devtools')
    library(devtools)
}
install_github("nicolas-robette/seqhandbook")

References

Robette, Nicolas. L'analyse statistique des trajectoires : Typologies de séquences et autres approches. Nouvelle édition [en ligne]. Paris : Ined Éditions, 2021. Disponible sur Internet : https://books.openedition.org/ined/16670. ISBN : 9782733290507. DOI : https://doi.org/10.4000/books.ined.16670.

Copy Link

Version

Install

install.packages('seqhandbook')

Monthly Downloads

243

Version

0.1.1

License

GPL (>= 2)

Maintainer

Nicolas Robette

Last Published

April 2nd, 2023

Functions in seqhandbook (0.1.1)

seqi1epi

At least one episode in the states
seq_heatmap

Index plot of sequences ordered according to a dendrogram
seqmsa

Sample of marital, parental and residential sequences
socdem

Sample of sociodemographic variables
seqgimsa

Sample of mothers and daughters employment histories
seqsmooth

Smoothing sequence data
seqinepi

Number of episodes in each state
seq2qha

Recoding sequences for qualitative harmonic analysis
assoc.domains

Association measures between domains in multidimensional sequence analysis
symPLS

Symmetric (or canonical) PLS
seqifpos

First position in each state
trajact

Sample of employment histories
seqmds.stress

Stress measure of multidimensional scaling factors