Trajectory Miner: a Sequence Analysis Toolkit
Overview
Set of sequence analysis tools for manipulating, describing and rendering categorical sequences, and more generally mining sequence data in the field of social sciences. Although this sequence analysis package is primarily intended for state or event sequences that describe time use or life courses such as family formation histories or professional careers, its features also apply to many other kinds of categorical sequence data. It accepts many different sequence representations as input and provides tools for converting sequences from one format to another. It offers several functions for describing and rendering sequences, for computing distances between sequences with different metrics (among which optimal matching), original dissimilarity-based analysis tools, and functions for extracting the most frequent event subsequences and identifying the most discriminating ones among them. A user's guide can be found on the TraMineR web page.
New functions
summary.seqelist(): summary method for event sequence objects, which returns sequence duration and number of transitions as attributes of the returned object.summary.eseq()summary method for a single element of aseqelist.
Changes in existing functions
seqlegend()and internalTraMineR.legend()gain argumenttokensto control state labels included in the legend and their order.seqplotMD()gains argumenttokens.domto control state labels included in the legend of each domain and their order.print.stslist.statd()(print method for objects returned byseqstatd):digitsis now used for rounding the number of valid states instead as a print argument.seqcost(): improved handling of missing and removed turningwith.missingtoFALSEwhen no missing inseqdata, which caused an issue whenrefseqhad missing states (issue reported by Etienne Peyrot)seqcost()now checks consistency of returnedindelandsmvalues. An argumentcheck.costsallows controlling whether costs must be checked or not.seqdist()andseqMD()gain argumentcheck.coststo control whether costs must be checked or not. Disabling the check can slightly improve speed when the function must be invoked a great number of times.- internal
checkcost()now skips indel check when sm is time-varying. - internal
checkcost()stops checking and raises a message when max substitution cost is zero.
Show all changes in 2.2-14Hide the rest of the changes in 2.2-14
- internal
checkcost()warns when some substitution costs are 0 and indicates the first of them.
Bug fixes
str.seqelist(): inappropriate use ofcatinside the method.
Misc.
- Suppressed unused not working methods
Math,Ops, andSummaryofseqelistobjects. - Suppressed outdated R-Forge url from the vignette.
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 111 (3 internal)includes a package overview page
- Examples that run
- 100%96 run in a plain check
- Exported functions with examples
- 89%
- Documented parameters
- 99%
- Return-value docs
- 86%
- Help pages citing references
- 54%
Also includes 3 demo scripts (run with demo())
Downloads
Dependencies
Installing TraMineR adds 4 packages (2 with compiled code, 3.5 MB of source tarballs). Heaviest: colorspace 2.0 MB, vegan 1.4 MB, permute 118 KB.
Show all 16 packagesHide all 16 packages
Code & Tests
Datasets
People & History
Maintainer since 1.8-5 (2012), previously Alexis Gabadinho (1.0 to 1.6-2)
Show 8 peopleHide 8 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- 3.0.22013-08-26 · diff ↗
- RR 3.0.0 released · 2013-04-03
Show 73 earlier eventsHide 73 earlier events
- 2.15.32012-12-05 · diff ↗
- 2.15.22012-10-18 · diff ↗
- 2.15.1
- RR 2.15.0 released · 2012-03-30
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- 2.13.02011-04-05 · diff ↗
- 2.12.12010-10-21 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 2.12.02010-08-16 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 2.11.02010-04-02 · diff ↗
- 2.10.1
- RR 2.10.0 released · 2009-10-26
- 2.10.02009-08-06 · diff ↗
- 2.9.12009-05-13 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 2.9.0
- RR 2.8.0 released · 2008-10-20
- 2.7.22008-07-10 · diff ↗
- 2.2-142026-09-15 · diff ↗
- 2.2-132025-12-14 · diff ↗
- 2.2-122025-06-29 · diff ↗
- 2.2-112024-12-08 · diff ↗
- 2.2-10
- 2.2-92024-01-08 · diff ↗
- 2.2-8
- 2.2-7
- 2.2-62022-12-01 · diff ↗
- 2.2-52022-08-30 · diff ↗ ·
removed 1 export
TraMineR.checkupdatesadded 5 exports
seqfposend, seqMD, seqrf, seqrfplot, dissrf - 2.2-4
- 2.2-32022-01-19 · diff ↗
- 2.2-2
- 2.2-1
- 2.2-0.12020-04-29 · diff ↗
- 2.2-02020-04-22 · diff ↗
- 2.0-15
- 2.0-142020-01-13 · diff ↗
- 2.0-13
- 2.0-122019-06-21 · diff ↗
- 2.0-11.12019-03-22 · diff ↗
- 2.0-112019-03-18 · diff ↗
- 2.0-102018-11-18 · diff ↗
- 2.0-92018-08-20 · diff ↗
- 2.0-8
- 2.0-72017-08-16 · diff ↗
- 2.0-6
- 2.0-52017-05-15 · diff ↗ ·
removed 4 exports
dissreg, dissmfac, seqesetlength, is.seqeadded 2 exports
seqcost, is.eseq - 1.8-132016-10-06 · diff ↗
- 1.8-122016-06-24 · diff ↗
- 1.8-11.12016-01-29 · diff ↗
- 1.8-112015-11-25 · diff ↗
- 1.8-10
- 1.8-9
- 1.8-82014-01-14 · diff ↗ ·
added 3 exports
TraMineRInternalNodeInit, TraMineRInternalSplitInit, TraMineRInternalLayout - 1.8-72013-12-19 · diff ↗
- 1.8-62013-08-26 · diff ↗
- 1.8-52012-12-06 · diff ↗
- 1.8-42012-11-17 · diff ↗
- 1.8-3
- 1.8-22012-06-04 · diff ↗
- 1.8-12011-04-05 · diff ↗
- 1.82011-03-17 · diff ↗ ·
added 8 exports
recodef, seqrecode, dissmfacw, seqtree, seqtreedisplay, seqelength<-, seqeweight, seqeweight<- - 1.6-22010-10-23 · diff ↗
- 1.6-12010-08-17 · diff ↗
- 1.6
- 1.4-12009-11-02 · diff ↗
- 1.42009-08-06 · diff ↗ ·
added 10 exports
seqdistmc, seqHtplot, seqlogp, seqmeant, seqmodst, seqmsplot, seqplot, seqrep, seqrplot, seqstatf - 1.2-12009-05-13 · diff ↗
- 1.22009-04-15 · diff ↗
- 1.12009-01-16 · diff ↗ ·
added 61 exports
alphabet, alphabet<-, cpal, cpal<-, read.tda.mdist, seqcomp, seqconc, seqdecomp, seqdef, seqdiff, seqdim, seqdist, seqdplot, seqdss, seqdur, seqfcheck, seqfind, seqformat, seqfplot, seqfpos, seqgen, seqient, seqiplot, seqistatd, seqlegend, seqlength, seqLLCP, seqLLCS, seqmpos, seqmtplot and 31 more - 1.02008-07-15
- RR 2.7.0 released · 2008-04-22
Package metadata
- First published
- 2008-07-10
- Total releases
- 66 / 18 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 118 KB / 9 files
- Download size
- 1.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("TraMineR")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.