Learn R Programming

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

TraMineR (version 1.8-13)

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

Version

1.8-13

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

October 6th, 2016

Functions in TraMineR (1.8-13)

cpal

Get or set the color palette of a sequence object
biofam

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

Multi-factor ANOVA from a dissimilarity matrix
bfspell

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

Get or set the alphabet of a sequence object
dissrep

Extracting sets of representative objects using a dissimilarity matrix
actcal.tse

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

Compute distances to the center of a group
dissassoc

Analysis of discrepancy from dissimilarity measures
actcal

Example data set: Activity calendar from the Swiss Household Panel
plot.stslist.freq

Plot method for sequence frequency tables
ex1

Example data set with missing values and weights
mvad

Example data set: Transition from school to work
ex2

Example data sets with weighted and unweighted sequence data
disstree

Dissimilarity Tree
disstree2dot

Graphical representation of a dissimilarity tree
disstreeleaf

Terminal node membership
plot.seqdiff

Plotting a seqdiff object.
dissvar

Dissimilarity based discrepancy
famform

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

Plot method for modal state sequences
plot.stslist.statd

Plot method for objects produced by the seqstatd function
plot.subseqelistchisq

Plot discriminant subsequences
plot.stslist.rep

Plot method for representative sequence sets
seqcomp

Compare two state sequences
seqalign

Computation details about a pairwise alignment
plot.subseqelist

Plot frequencies of subsequences
read.tda.mdist

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

Plot method for objects produced by the seqmeant function
plot.stslist

Plot method for state sequence objects
seqdur

Extract state durations from a sequence object.
is.seqe

Event sequence object
seqdecomp

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

Create a state sequence object
seqdss

Extract distinct states sequence from a sequence object
seqdim

Dimension of a set of sequences
seqdistmc

Multichannel distances between sequences
seqdiff

Position-wise discrepancy analysis between groups of sequences
seqconc

Concatenate vectors of states or events into a character string
seqdist

Distances (dissimilarities) between sequences
seqeapplysub

Checking for the presence of given event subsequences
seqeconstraint

Setting time constraints and the counting method
seqecmpgroup

Identifying discriminating subsequences
seqetm

Create a transition-definition matrix
seqecontain

Check if sequence contains events
seqelength

Lengths of event sequences
seqeid

Retrieve unique ids from an event sequence object.
seqeweight

Setting or retrieving weights of an event sequence object.
seqefsub

Searching for frequent subsequences
seqecreate

Create event sequence objects.
seqgen

Random sequences generation
seqfcheck

Check if sequences are in the compressed or extended format
seqient

Within sequence entropies
seqformat

Conversion between sequence formats
seqlength

Sequence length
seqfind

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

Plot a legend for the states in a sequence object
seqfpos

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

Complexity index of individual sequences
seqistatd

State frequencies in each individual sequence
seqplot

Plot state sequence objects
seqpm

Find substring patterns in sequences
seqstatl

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

State frequencies in the whole sequence data set
str.seqe

String representation of an event sequence object
stlab

Get or set the state labels of a sequence object
seqrecode

Recoding state sequence objects and factors
seqrep

Extracting sets of representative sequences
seqpcplot

Parallel coordinate plot for sequence data
seqnum

Transform into a sequence object with numerical alphabet.
seqsep

Adds separators to sequences stored as character string
seqsubsn

Number of distinct subsequences in a sequence.
seqLLCS

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

Sequences turbulence
seqLLCP

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

Frequency table of the sequences
seqmodst

Sequence of modal states
seqmpos

Number of matching positions between two sequences.
seqtransn

Number of transitions in a sequence
seqtrate

Compute transition rates between states
seqtree

Tree structured analysis of a state sequence object.
seqtreedisplay

Graphical rendering of a sequence regression tree
TraMineR-package

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences
seqlogp

Logarithm of the probabilities of state sequences
seqmeant

Mean durations in each state
TraMineRInternal

Access to TraMineR internal functions
TraMineR.checkupdates

Check for TraMineR updates