Learn R Programming

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

TraMineR (version 1.6-2)

Sequences and trajectories mining for social scientists

Description

This package is a toolbox for sequence manipulation, description, rendering and more generally sequence data mining in the field of social sciences. Though it is primarily intended for analyzing state or event sequences that describe life courses such as family formation histories or professional careers its features apply indeed also to many other kinds of categorical sequence data. It accepts as input many different sequence representations and provides tools for translating sequences from one format to another. It offers several statistical functions for describing and rendering sequences, for computing distances between sequences with different metrics among which optimal matching, the longest common prefix and the longest common subsequence, 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 TraMineR's web page.

Copy Link

Version

Install

install.packages('TraMineR')

Monthly Downloads

2,845

Version

1.6-2

License

GPL (>= 2)

Maintainer

Alexis Gabadinho

Last Published

October 23rd, 2010

Functions in TraMineR (1.6-2)

actcal

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

Get or set the alphabet of a sequence object
disstree2dot

Graphical representation of a dissimilarity tree
dissassoc

Analysis of discrepancy based on dissimilarity measure
seqLLCP

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

Plotting discriminant subsequences
seqlegend

Plot a legend for the states in a sequence object
ex1

Example data set with missing values and weights
seqdur

Extracts states durations from a sequence object.
seqdim

Returns the dimension of a set of sequences
plot.subseqelist

Plot frequencies of subsequences
famform

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

Plot method for sequence frequency tables
seqfcheck

Check if sequences are in the compressed or extended format
dissvar

Dissimilarity based discrepancy
seqLLCS

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

Example data set: Transition from school to work
seqistatd

States frequency for each individual sequence
plot.stslist.modst

Plot method for modal state sequences
seqmodst

Sequence of modal states
biofam

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

Plot functions for state sequence objects
plot.stslist.statd

Plot method for objects produced by the seqstatd function
seqnum

Translate a sequence object's alphabet into numerical alphabet, ranging 0-(nbstates-1).
seqrep

Extracting sets of representative sequences
seqelength

Length of event sequences
seqecontain

Check if sequence contains events
disscenter

Compute distance to the center of a group
seqdiff

Decompose the difference between groups of sequences
disstreeleaf

Terminal node appartenance
seqformat

Conversion between sequence formats
seqstatf

State frequencies in the all sequence data set
seqmeant

Mean durations in each state
seqdss

Extract distinct states sequence from a sequence object
plot.stslist.meant

Plot method for objects produced by the seqmeant function
seqgen

Random sequences generation
seqlength

Sequence length
seqient

Within sequences entropy
seqdist

Distances between sequences
seqdistmc

Multichannel distances between sequences
seqecmpgroup

Identifying discriminating subsequences
seqsubsn

Number of distinct subsequences in a sequence.
read.tda.mdist

Read a distance matrix produced by TDA.
seqtransn

Number of transitions in a sequence
dissrep

Extracting sets of representative objects using a dissimilarity matrix
is.seqe

Event sequence object
seqetm

Create a transition-definition matrix
seqST

Sequences turbulence
TraMineR.checkupdates

Check for updates
seqdef

Create a state sequence object
plot.stslist

Plot method for state sequence objects
actcal.tse

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

Compute transition rates between states
seqefsub

Searching for frequent subsequences
seqici

Complexity index of individual sequences
str.seqe

String representation of sequence object
seqsep

Adds separators to sequences stored as character string
seqtree2dot

Graphical representation of a dissimilarity tree
seqeapplysub

Checking if event sequences contain given subsequences
seqstatd

Sequence of transversal state distributions and their entropies
seqfind

Find the occurrences of sequence(s) x in the set of sequences y
seqfpos

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

Computing the logarithm of sequences probabilities
seqpm

Find patterns in sequences
stlab

Get or set the state labels of a sequence object
dissmfac

Multi-factor ANOVA from a dissimilarity matrix
seqconc

Concatenate vectors of states or events into a character string
seqecreate

Create event sequence objects.
disstree

Dissimilarity Tree
seqcomp

Compare two state sequences
seqsubm

Create a substitution-cost matrix
seqeid

Retrieve id of an event sequence object.
seqdecomp

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

Frequency table of the sequences
cpal

Get or set the color palette of a sequence object
seqeconstraint

Setting time constraint
plot.stslist.rep

Plot method for representative sequence sets
seqmpos

Number of matching positions between two sequences.
seqstatl

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