Learn R Programming

⚠️There's a newer version (2.2-12) of this package.Take me there.

TraMineR (version 2.2-5)

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences

Description

Toolbox for the manipulation, description and rendering of sequences, and more generally the mining of sequence data in the field of social sciences. Although the toolbox is primarily intended for analyzing state or event sequences that describe 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 simple functions for extracting the most frequent subsequences and identifying the most discriminating ones among them. A user's guide can be found on the TraMineR web page.

Copy Link

Version

Install

install.packages('TraMineR')

Monthly Downloads

2,743

Version

2.2-5

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

August 30th, 2022

Functions in TraMineR (2.2-5)

actcal.tse

Example data set: Activity calendar from the Swiss Household Panel (time stamped event format)
alphabet

Get or set the alphabet of a state or event sequence object
TraMineR-package

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences
TraMineR.check.depr.args

Checking and managing deprecated arguments
dissrf

Relative Frequency Groups.
disstree

Dissimilarity Tree
bfspell

Example data set: First 20 biofam sequences in SPELL form
dissassoc

Analysis of discrepancy from dissimilarity measures
cpal

Get or set the color palette of a sequence object
biofam

Example data set: Family life states from the Swiss Household Panel biographical survey
disstree2dot

Graphical representation of a dissimilarity tree
ex2

Example data sets with weighted and unweighted sequence data
dissmfacw

Multi-factor ANOVA from a dissimilarity matrix
disscenter

Compute distances to the center of a group
dissdomassoc

Domain association measures
disstreeleaf

Terminal node membership
famform

Example data set: sequences of family formation
plot.stslist.meant

Plot method for objects produced by the seqmeant function
dissvar

Dissimilarity based discrepancy
print.stslist

Print method for state sequence objects
ex1

Example data set with missing values and weights
plot.stslist.freq

Plot method for sequence frequency tables
plot.stslist

Plot method for state sequence objects
plot.seqrf

Plot method for seqrf objects of relative frequency groups of sequences.
plot.seqdiff

Plotting a seqdiff object.
plot.stslist.modst

Plot method for modal state sequences
seqLLCS

Compute the length of the longest common subsequence of two sequences
seqLLCP

Compute the length of the longest common prefix of two sequences
read.tda.mdist

Read a distance matrix produced by TDA.
plot.stslist.rep

Plot method for representative sequence sets
plot.stslist.statd

Plot method for objects produced by the seqstatd function
is.stslist

Test if is a proper state sequence (stslist) object
dissrep

Extracting sets of representative objects using a dissimilarity matrix
seqdist

Distances (dissimilarities) between sequences
plot.subseqelist

Plot frequencies of subsequences
seqdss

Extract sequences of distinct successive states
seqdiff

Position-wise discrepancy analysis between groups of sequences
seqdim

Dimension of a set of sequences
seqecontain

Check if sequence contains events
seqeconstraint

Setting time constraints and the counting method
seqdecomp

Convert a character string into a vector of states or events
plot.subseqelistchisq

Plot discriminant subsequences
mvad

Example data set: Transition from school to work
seqdef

Create a state sequence object
seqconc

Concatenate vectors of states or events into a character string
seqcost

Generate substitution and indel costs
seqMD

Multidomain sequences
seqibad

Badness index
seqefsub

Searching for frequent subsequences
is.eseq

Event sequence object
seqST

Sequences turbulence
seqdur

Extract state durations from a sequence object.
seqecreate

Create event sequence objects.
seqeid

Retrieve unique ids from an event sequence object.
seqfcheck

Check if sequences are in the compressed or extended format
seqfind

Indexes of state sequence(s) x in state sequence object y
seqelength

Lengths of event sequences
seqici

Complexity index of individual sequences
seqintegr

Integrative potential
seqipos

Indicators for binary sequences of positive and negative states.
seqient

Within sequence entropies
seqetm

Create a transition-definition matrix
seqindic

Sequence indicators
seqalign

Computation details about a pairwise alignment
seqformat

Conversion between sequence formats
seqeweight

Setting or retrieving weights of an event sequence object.
seqfpos

Search for the first occurrence of a given element in a sequence
seqpm

Find substring patterns in sequences
seqlegend

Plot a legend for the states in a sequence object
seqivolatility

Volatility of individual state sequences
seqprecarity

Degradation, Precarity, and Insecurity indexes
seqstatd

Sequence of transversal state distributions and their entropies
seqpcplot

Parallel coordinate plot for sequence data
seqplot

Plot state sequence objects
seqprecstart

State precarity
seqrecode

Recoding state sequence objects and factors
seqcomp

Compare two state sequences
seqstatf

State frequencies in the whole sequence data set
stlab

Get or set the state labels of a sequence object
seqivardur

Variance of spell durations in individual sequences
seqistatd

State frequencies in each individual sequence
seqtreedisplay

Graphical rendering of a sequence regression tree
seqmeant

Mean durations in each state
seqmodst

Sequence of modal states
seqecmpgroup

Identifying discriminating subsequences
seqeapplysub

Checking for the presence of given event subsequences
seqlogp

Logarithm of the probabilities of state sequences
seqtab

Frequency table of the sequences
seqtransn

Number of transitions in a sequence
seqfposend

End of first spell in given state
seqmaintokens

Indexes of most frequent tokens
seqtrate

Compute transition rates between states
seqlength.align

Align sequence length among domains
seqgen

Random sequences generation
seqtree

Tree structured analysis of a state sequence object.
seqrep

Extracting sets of representative sequences
seqsep

Adds separators to sequences stored as character string
seqlength

Sequence length
str.eseq

String representation of an event sequence object
seqmpos

Number of matching positions between two sequences.
seqnum

Transform into a sequence object with numerical alphabet.
seqsubsn

Number of distinct subsequences in a sequence.
seqstatl

List of distinct states or events (alphabet) in a sequence data set.
TraMineRInternal

Access to TraMineR internal functions
actcal

Example data set: Activity calendar from the Swiss Household Panel