Learn R Programming

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

TraMineR (version 1.8-9)

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences

Description

This is a 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

1.8-9

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

January 27th, 2015

Functions in TraMineR (1.8-9)

cpal

Get or set the color palette of a sequence object
disscenter

Compute distances to the center of a group
ex2

Example data sets with weighted and unweighted sequence data
seqconc

Concatenate vectors of states or events into a character string
plot.stslist.rep

Plot method for representative sequence sets
dissassoc

Analysis of discrepancy from dissimilarity measures
seqLLCS

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

Setting time constraints and the counting method
seqmodst

Sequence of modal states
actcal

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

Identifying discriminating subsequences
seqistatd

State frequencies in each individual sequence
actcal.tse

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

Multi-factor ANOVA from a dissimilarity matrix
ex1

Example data set with missing values and weights
seqecreate

Create event sequence objects.
seqnum

Transform into a sequence object with numerical alphabet.
seqfind

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

Random sequences generation
seqST

Sequences turbulence
seqecontain

Check if sequence contains events
seqsep

Adds separators to sequences stored as character string
TraMineR-package

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences
famform

Example data set: sequences of family formation
seqmpos

Number of matching positions between two sequences.
seqlength

Sequence length
TraMineRInternal

Access to TraMineR internal functions
seqpm

Find substring patterns in sequences
seqdecomp

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

Graphical representation of a dissimilarity tree
plot.stslist.meant

Plot method for objects produced by the seqmeant function
seqdss

Extract distinct states sequence from a sequence object
biofam

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

Extracting sets of representative objects using a dissimilarity matrix
seqlogp

Logarithm of the probabilities of state sequences
alphabet

Get or set the alphabet of a sequence object
seqdiff

Position-wise discrepancy analysis between groups of sequences
disstree

Dissimilarity Tree
seqeapplysub

Checking for the presence of given event subsequences
seqetm

Create a transition-definition matrix
seqplot

Plot state sequence objects
seqdim

Dimension of a set of sequences
seqdef

Create a state sequence object
read.tda.mdist

Read a distance matrix produced by TDA.
mvad

Example data set: Transition from school to work
seqLLCP

Compute the length of the longest common prefix of two sequences
plot.subseqelistchisq

Plot discriminant subsequences
dissvar

Dissimilarity based discrepancy
is.seqe

Event sequence object
seqefsub

Searching for frequent subsequences
seqient

Within sequence entropies
seqstatl

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

Recoding state sequence objects and factors
disstreeleaf

Terminal node membership
seqmeant

Mean durations in each state
seqici

Complexity index of individual sequences
seqcomp

Compare two state sequences
seqalign

Computation details about a pairwise alignment
seqpcplot

Parallel coordinate plot for sequence data
plot.seqdiff

Plotting a seqdiff object.
seqdistmc

Multichannel distances between sequences
seqlegend

Plot a legend for the states in a sequence object
seqfpos

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

Tree structured analysis of a state sequence object.
seqsubsn

Number of distinct subsequences in a sequence.
seqformat

Conversion between sequence formats
seqtrate

Compute transition rates between states
plot.stslist

Plot method for state sequence objects
seqtab

Frequency table of the sequences
seqtransn

Number of transitions in a sequence
plot.stslist.freq

Plot method for sequence frequency tables
seqeweight

Setting or retrieving weights of an event sequence object.
plot.stslist.statd

Plot method for objects produced by the seqstatd function
str.seqe

String representation of an event sequence object
seqstatf

State frequencies in the whole sequence data set
seqrep

Extracting sets of representative sequences
stlab

Get or set the state labels of a sequence object
seqsubm

Create a substitution-cost matrix
TraMineR.checkupdates

Check for TraMineR updates
seqelength

Lengths of event sequences
plot.stslist.modst

Plot method for modal state sequences
plot.subseqelist

Plot frequencies of subsequences
seqdur

Extract state durations from a sequence object.
seqdist

Distances (dissimilarities) between sequences
seqstatd

Sequence of transversal state distributions and their entropies
seqfcheck

Check if sequences are in the compressed or extended format
seqtreedisplay

Graphical rendering of a sequence regression tree
seqeid

Retrieve unique ids from an event sequence object.