Learn R Programming

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

TraMineR (version 1.8-8)

Trajectory miner: a toolbox for exploring and rendering sequence data

Description

This package is a toolbox for sequence manipulation, description, rendering and more generally the mining of sequence data 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 also apply to many other kinds of categorical sequence data. It accepts many different sequence representations as input 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 the TraMineR web page.

Copy Link

Version

Install

install.packages('TraMineR')

Monthly Downloads

2,992

Version

1.8-8

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

January 14th, 2014

Functions in TraMineR (1.8-8)

seqelength

Lengths of event sequences
TraMineRInternalLayout

Access to TraMineR internal functions
disstree

Dissimilarity Tree
famform

Example data set: sequences of family formation
actcal.tse

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

Plot method for state sequence objects
is.seqe

Event sequence object
actcal

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

Check if sequences are in the compressed or extended format
ex2

Example data sets with weighted and unweighted sequence data
plot.stslist.meant

Plot method for objects produced by the seqmeant function
biofam

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

Get or set the color palette of a sequence object
seqmodst

Sequence of modal states
plot.subseqelistchisq

Plot discriminant subsequences
seqecontain

Check if sequence contains events
seqecmpgroup

Identifying discriminating subsequences
mvad

Example data set: Transition from school to work
seqefsub

Searching for frequent subsequences
ex1

Example data set with missing values and weights
TraMineR-package

Trajectory miner: a toolbox for exploring and rendering sequence data
plot.subseqelist

Plot frequencies of subsequences
plot.stslist.modst

Plot method for modal state sequences
plot.stslist.statd

Plot method for objects produced by the seqstatd function
seqeconstraint

Setting time constraints and the counting method
seqeapplysub

Checking for the presence of given event subsequences
plot.stslist.rep

Plot method for representative sequence sets
seqlegend

Plot a legend for the states in a sequence object
seqlength

Sequence length
seqici

Complexity index of individual sequences
seqfpos

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

Logarithm of the probabilities of state sequences
seqdss

Extract distinct states sequence from a sequence object
seqformat

Conversion between sequence formats
seqconc

Concatenate vectors of states or events into a character string
seqecreate

Create event sequence objects.
seqgen

Random sequences generation
seqcomp

Compare two state sequences
seqdef

Create a state sequence object
read.tda.mdist

Read a distance matrix produced by TDA.
seqdecomp

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

Create a transition-definition matrix
seqdim

Dimension of a set of sequences
seqeweight

Setting or retrieving weights of an event sequence object.
alphabet

Get or set the alphabet of a sequence object
seqeid

Retrieve unique ids from an event sequence object.
dissvar

Dissimilarity based discrepancy
dissmfac

Multi-factor ANOVA from a dissimilarity matrix
seqdiff

Position-wise discrepancy analysis between groups of sequences
plot.seqdiff

Plotting a seqdiff object.
seqalign

Computation details about a pairwise alignment
dissrep

Extracting sets of representative objects using a dissimilarity matrix
disstreeleaf

Terminal node membership
disstree2dot

Graphical representation of a dissimilarity tree
seqstatl

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

Recoding state sequence objects and factors
seqfind

Indexes of state sequence(s) x in state sequence object y
str.seqe

String representation of an event sequence object
seqtransn

Number of transitions in a sequence
seqpm

Find patterns in sequences
seqpcplot

Parallel coordinate plot for sequence data
stlab

Get or set the state labels of a sequence object
seqplot

Plot state sequence objects
plot.stslist.freq

Plot method for sequence frequency tables
seqtab

Frequency table of the sequences
seqmeant

Mean durations in each state
seqLLCS

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

Adds separators to sequences stored as character string
seqtree

Tree structured analysis of a state sequence object.
seqient

Within sequence entropies
seqistatd

State frequencies in each individual sequence
seqtrate

Compute transition rates between states
seqstatf

State frequencies in the whole sequence data set
seqtreedisplay

Graphical rendering of a sequence regression tree
seqsubm

Create a substitution-cost matrix
seqLLCP

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

Number of matching positions between two sequences.
seqdistmc

Multichannel distances between sequences
seqdist

Distances (dissimilarities) between sequences
seqsubsn

Number of distinct subsequences in a sequence.
seqstatd

Sequence of transversal state distributions and their entropies
seqrep

Extracting sets of representative sequences
TraMineR.checkupdates

Check for TraMineR updates
dissassoc

Analysis of discrepancy from dissimilarity measures
disscenter

Compute distances to the center of a group
seqST

Sequences turbulence
seqdur

Extract state durations from a sequence object.
seqnum

Transform into a sequence object with numerical alphabet.