Learn R Programming

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

TraMineR (version 2.2-4)

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,845

Version

2.2-4

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

June 9th, 2022

Functions in TraMineR (2.2-4)

bfspell

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

Access to TraMineR internal functions
actcal.tse

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

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

Example data set: Activity calendar from the Swiss Household Panel
cpal

Get or set the color palette of a sequence object
TraMineR.checkupdates

Check for TraMineR updates
alphabet

Get or set the alphabet of a state or event sequence object
TraMineR.check.depr.args

Checking and managing deprecated arguments
TraMineR-package

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences
ex1

Example data set with missing values and weights
dissvar

Dissimilarity based discrepancy
seqalign

Computation details about a pairwise alignment
dissrep

Extracting sets of representative objects using a dissimilarity matrix
plot.stslist.rep

Plot method for representative sequence sets
disstree

Dissimilarity Tree
plot.stslist.modst

Plot method for modal state sequences
seqcomp

Compare two state sequences
plot.stslist.statd

Plot method for objects produced by the seqstatd function
seqdistmc

Multichannel distances between sequences
seqdist

Distances (dissimilarities) between sequences
plot.subseqelist

Plot frequencies of subsequences
seqecmpgroup

Identifying discriminating subsequences
seqLLCS

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

Sequences turbulence
seqdss

Extract sequences of distinct successive states
plot.stslist.freq

Plot method for sequence frequency tables
plot.stslist.meant

Plot method for objects produced by the seqmeant function
seqeconstraint

Setting time constraints and the counting method
seqfpos

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

Extract state durations from a sequence object.
dissassoc

Analysis of discrepancy from dissimilarity measures
seqdecomp

Convert a character string into a vector of states or events
disstreeleaf

Terminal node membership
is.stslist

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

Graphical representation of a dissimilarity tree
dissmfacw

Multi-factor ANOVA from a dissimilarity matrix
famform

Example data set: sequences of family formation
seqefsub

Searching for frequent subsequences
dissdomassoc

Domain association measures
ex2

Example data sets with weighted and unweighted sequence data
seqeid

Retrieve unique ids from an event sequence object.
mvad

Example data set: Transition from school to work
read.tda.mdist

Read a distance matrix produced by TDA.
seqdef

Create a state sequence object
seqfind

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

Lengths of event sequences
seqibad

Badness index
disscenter

Compute distances to the center of a group
plot.stslist

Plot method for state sequence objects
seqeweight

Setting or retrieving weights of an event sequence object.
seqetm

Create a transition-definition matrix
plot.seqdiff

Plotting a seqdiff object.
seqici

Complexity index of individual sequences
seqgen

Random sequences generation
seqmaintokens

Indexes of most frequent tokens
seqfcheck

Check if sequences are in the compressed or extended format
seqmpos

Number of matching positions between two sequences.
seqformat

Conversion between sequence formats
seqlogp

Logarithm of the probabilities of state sequences
seqmeant

Mean durations in each state
seqpm

Find substring patterns in sequences
seqmodst

Sequence of modal states
seqivardur

Variance of spell durations in individual sequences
plot.subseqelistchisq

Plot discriminant subsequences
seqnum

Transform into a sequence object with numerical alphabet.
seqistatd

State frequencies in each individual sequence
seqlength.align

Align sequence length among domains
seqLLCP

Compute the length of the longest common prefix of two sequences
print.stslist

Print method for state sequence objects
seqsep

Adds separators to sequences stored as character string
seqconc

Concatenate vectors of states or events into a character string
seqcost

Generate substitution and indel costs
seqsubsn

Number of distinct subsequences in a sequence.
seqrep

Extracting sets of representative sequences
seqeapplysub

Checking for the presence of given event subsequences
seqstatl

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

Within sequence entropies
seqprecarity

Degradation, Precarity, and Insecurity indexes
is.eseq

Event sequence object
seqtab

Frequency table of the sequences
seqindic

Sequence indicators
seqprecstart

State precarity
seqlength

Sequence length
seqipos

Indicators for binary sequences of positive and negative states.
seqtransn

Number of transitions in a sequence
seqdim

Dimension of a set of sequences
seqdiff

Position-wise discrepancy analysis between groups of sequences
seqintegr

Integrative potential
seqecontain

Check if sequence contains events
seqecreate

Create event sequence objects.
seqlegend

Plot a legend for the states in a sequence object
seqivolatility

Volatility of individual state sequences
str.eseq

String representation of an event sequence object
seqrecode

Recoding state sequence objects and factors
seqtreedisplay

Graphical rendering of a sequence regression tree
seqstatf

State frequencies in the whole sequence data set
seqstatd

Sequence of transversal state distributions and their entropies
stlab

Get or set the state labels of a sequence object
seqpcplot

Parallel coordinate plot for sequence data
seqtrate

Compute transition rates between states
seqtree

Tree structured analysis of a state sequence object.
seqplot

Plot state sequence objects