Learn R Programming

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

TraMineR (version 2.0-15)

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.0-15

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

March 18th, 2020

Functions in TraMineR (2.0-15)

cpal

Get or set the color palette of a sequence object
disscenter

Compute distances to the center of a group
dissrep

Extracting sets of representative objects using a dissimilarity matrix
disstree2dot

Graphical representation of a dissimilarity tree
famform

Example data set: sequences of family formation
ex2

Example data sets with weighted and unweighted sequence data
dissmfacw

Multi-factor ANOVA from a dissimilarity matrix
ex1

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

Plot method for representative sequence sets
disstreeleaf

Terminal node membership
dissassoc

Analysis of discrepancy from dissimilarity measures
mvad

Example data set: Transition from school to work
is.stslist

Test if is a proper state sequence (stslist) object
plot.stslist

Plot method for state sequence objects
seqST

Sequences turbulence
seqdef

Create a state sequence object
plot.stslist.statd

Plot method for objects produced by the seqstatd function
disstree

Dissimilarity Tree
plot.subseqelist

Plot frequencies of subsequences
plot.seqdiff

Plotting a seqdiff object.
seqdistmc

Multichannel distances between sequences
seqconc

Concatenate vectors of states or events into a character string
dissvar

Dissimilarity based discrepancy
seqalign

Computation details about a pairwise alignment
seqdecomp

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

Plot method for sequence frequency tables
seqdss

Extract distinct states sequence from a sequence object
seqcost

Generate substitution and indel costs
plot.subseqelistchisq

Plot discriminant subsequences
seqcomp

Compare two state sequences
read.tda.mdist

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

Plot method for objects produced by the seqmeant function
seqeapplysub

Checking for the presence of given event subsequences
seqecreate

Create event sequence objects.
seqLLCP

Compute the length of the longest common prefix of two sequences
plot.stslist.modst

Plot method for modal state sequences
seqdur

Extract state durations from a sequence object.
seqefsub

Searching for frequent subsequences
print.stslist

Print method for state sequence objects
is.eseq

Event sequence object
seqintegration

Integrative potential
seqecmpgroup

Identifying discriminating subsequences
seqipos

Proportion of positive spells or states per sequence
seqlogp

Logarithm of the probabilities of state sequences
seqdiff

Position-wise discrepancy analysis between groups of sequences
seqient

Within sequence entropies
seqelength

Lengths of event sequences
seqeid

Retrieve unique ids from an event sequence object.
seqmeant

Mean durations in each state
seqgen

Random sequences generation
seqstatf

State frequencies in the whole sequence data set
seqformat

Conversion between sequence formats
seqeconstraint

Setting time constraints and the counting method
seqici

Complexity index of individual sequences
seqecontain

Check if sequence contains events
seqstatl

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

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

Transform into a sequence object with numerical alphabet.
seqistatd

State frequencies in each individual sequence
seqdim

Dimension of a set of sequences
seqlength

Sequence length
seqlegend

Plot a legend for the states in a sequence object
seqdist

Distances (dissimilarities) between sequences
seqfcheck

Check if sequences are in the compressed or extended format
seqfpos

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

Precarity index
seqpcplot

Parallel coordinate plot for sequence data
seqindic

Sequence indicators
seqetm

Create a transition-definition matrix
seqpm

Find substring patterns in sequences
seqmodst

Sequence of modal states
seqrep

Extracting sets of representative sequences
seqprecstart

State precarity
seqmpos

Number of matching positions between two sequences.
seqeweight

Setting or retrieving weights of an event sequence object.
seqivolatility

Volatility of individual state sequences
seqfind

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

Recoding state sequence objects and factors
seqplot

Plot state sequence objects
seqstatd

Sequence of transversal state distributions and their entropies
stlab

Get or set the state labels of a sequence object
seqsubsn

Number of distinct subsequences in a sequence.
seqsep

Adds separators to sequences stored as character string
seqtree

Tree structured analysis of a state sequence object.
seqtab

Frequency table of the sequences
seqtreedisplay

Graphical rendering of a sequence regression tree
seqtransn

Number of transitions in a sequence
seqtrate

Compute transition rates between states
str.eseq

String representation of an event sequence object
TraMineR-package

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

Checking and managing deprecated arguments
TraMineRInternal

Access to TraMineR internal functions
biofam

Example data set: Family life states from the Swiss Household Panel biographical survey
TraMineR.checkupdates

Check for TraMineR updates
bfspell

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

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

Get or set the alphabet of a state or event sequence object
actcal.tse

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