Learn R Programming

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

TraMineR (version 1.4-1)

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

Version

1.4-1

License

GPL (>= 2)

Maintainer

Alexis Gabadinho

Last Published

November 2nd, 2009

Functions in TraMineR (1.4-1)

plot.stslist.freq

Plot method for sequence frequency tables
dissvar

Dissimilarity based discrepancy
TraMineR.checkupdates

Check for updates
seqeconstraint

Setting time constraint
seqconc

Concatenate vectors of states or events into a character string
dissrep

Extracting sets of representative objects using a dissimilarity matrix
plot.subseqelist

Plot frequencies of subsequences
plot.stslist.statd

Plot method for objects produced by the seqstatd function
seqLLCS

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

Length of event sequences
seqeid

Retrieve id of an event sequence object.
seqdim

Returns the dimension of a set of sequences
seqgen

Random sequences generation
dissassoc

Analysis of discrepancy based on dissimilarity measure
seqmodst

Sequence of modal states
disstreeleaf

Terminal node appartenance
cpal

Get or set the color palette of a sequence object
seqecmpgroup

Identifying discriminating subsequences
seqnum

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

Distances between sequences
seqecontain

Check if sequence contains events
alphabet

Get or set the alphabet of a sequence object
seqeapplysub

Checking if event sequences contain given subsequences
seqient

Within sequences entropy
seqformat

Translation between sequence formats
seqlogp

Computing the logarithm of sequences probabilities
disstree

Dissimilarity Tree
biofam

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

Create event sequence objects.
seqplot

Plot functions for state sequence objects
dissmfac

Multi-factor ANOVA from a dissimilarity matrix
disstree2dot

Graphical representation of a dissimilarity tree
plot.stslist.rep

Plot method for representative sequence sets
plot.subseqelistchisq

Plotting discriminant subsequences
is.seqe

Event sequence object
seqmeant

Mean durations in each state
seqfind

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

Create a substitution-cost matrix
seqistatd

States frequency for each individual sequence
seqtree2dot

Graphical representation of a dissimilarity tree
seqtab

Frequency table of the sequences
seqstatd

Sequence of transversal state distributions and their entropies
actcal.tse

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

String representation of sequence object
plot.stslist

Plot method for state sequence objects
plot.stslist.modst

Plot method for modal state sequences
seqmpos

Number of matching positions between two sequences.
seqsep

Adds separators to sequences stored as character string
seqST

Sequences turbulence
seqsubsn

Number of distinct subsequences in a sequence.
seqetm

Create a transition-definition matrix
seqdef

Create a state sequence object
seqefsub

Searching for frequent subsequences
actcal

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

Plot a legend for the states in a sequence object
seqdur

Extracts states durations from a sequence object.
plot.stslist.meant

Plot method for objects produced by the seqmeant function
read.tda.mdist

Read a distance matrix produced by TDA.
seqtrate

Compute transition rates between states
seqcomp

Compare two state sequences
seqstatl

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

Example data set with missing values and weights
seqlength

Sequence length
mvad

Example data set: Transition from school to work
seqpm

Find patterns in sequences
famform

Example data set: sequences of family formation
seqstatf

State frequencies in the all sequence data set
seqLLCP

Compute the length of the longest common prefix of two sequences
seqfpos

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

Extract distinct states sequence from a sequence object
seqrep

Extracting sets of representative sequences
disscenter

Compute distance to the center of a group
seqdiff

Decompose the difference between groups of sequences
seqfcheck

Check if sequences are in the compressed or extended format
seqdecomp

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

Multichannel distances between sequences