Learn R Programming

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

TraMineR (version 2.2-3)

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

Version

2.2-3

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

January 19th, 2022

Functions in TraMineR (2.2-3)

TraMineR.check.depr.args

Checking and managing deprecated arguments
alphabet

Get or set the alphabet of a state or event sequence object
TraMineRInternal

Access to TraMineR internal functions
TraMineR-package

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences
actcal.tse

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

Example data set: Activity calendar from the Swiss Household Panel
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
TraMineR.checkupdates

Check for TraMineR updates
bfspell

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

Extracting sets of representative objects using a dissimilarity matrix
disstree

Dissimilarity Tree
dissvar

Dissimilarity based discrepancy
seqalign

Computation details about a pairwise alignment
plot.stslist.freq

Plot method for sequence frequency tables
seqcomp

Compare two state sequences
dissassoc

Analysis of discrepancy from dissimilarity measures
plot.stslist.meant

Plot method for objects produced by the seqmeant function
dissdomassoc

Domain association measures
disscenter

Compute distances to the center of a group
plot.seqdiff

Plotting a seqdiff object.
plot.stslist.modst

Plot method for modal state sequences
dissmfacw

Multi-factor ANOVA from a dissimilarity matrix
ex1

Example data set with missing values and weights
plot.stslist.rep

Plot method for representative sequence sets
seqdss

Extract sequences of distinct successive states
seqconc

Concatenate vectors of states or events into a character string
seqefsub

Searching for frequent subsequences
seqcost

Generate substitution and indel costs
disstree2dot

Graphical representation of a dissimilarity tree
plot.stslist

Plot method for state sequence objects
seqeid

Retrieve unique ids from an event sequence object.
seqdur

Extract state durations from a sequence object.
seqfpos

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

Check if sequence contains events
seqecreate

Create event sequence objects.
seqST

Sequences turbulence
seqelength

Lengths of event sequences
seqdiff

Position-wise discrepancy analysis between groups of sequences
seqLLCS

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

Example data sets with weighted and unweighted sequence data
seqdim

Dimension of a set of sequences
disstreeleaf

Terminal node membership
seqfcheck

Check if sequences are in the compressed or extended format
seqeweight

Setting or retrieving weights of an event sequence object.
seqetm

Create a transition-definition matrix
seqformat

Conversion between sequence formats
seqfind

Indexes of state sequence(s) x in state sequence object y
read.tda.mdist

Read a distance matrix produced by TDA.
seqdecomp

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

Example data set: sequences of family formation
seqLLCP

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

Parallel coordinate plot for sequence data
plot.subseqelistchisq

Plot discriminant subsequences
seqplot

Plot state sequence objects
seqtrate

Compute transition rates between states
seqtree

Tree structured analysis of a state sequence object.
seqgen

Random sequences generation
stlab

Get or set the state labels of a sequence object
seqlegend

Plot a legend for the states in a sequence object
seqivolatility

Volatility of individual state sequences
seqecmpgroup

Identifying discriminating subsequences
seqtreedisplay

Graphical rendering of a sequence regression tree
seqdistmc

Multichannel distances between sequences
seqdist

Distances (dissimilarities) between sequences
is.stslist

Test if is a proper state sequence (stslist) object
print.stslist

Print method for state sequence objects
seqdef

Create a state sequence object
seqivardur

Variance of spell durations in individual sequences
seqeconstraint

Setting time constraints and the counting method
seqient

Within sequence entropies
seqrep

Extracting sets of representative sequences
plot.stslist.statd

Plot method for objects produced by the seqstatd function
seqsep

Adds separators to sequences stored as character string
seqistatd

State frequencies in each individual sequence
mvad

Example data set: Transition from school to work
seqindic

Sequence indicators
plot.subseqelist

Plot frequencies of subsequences
seqlength

Sequence length
seqpm

Find substring patterns in sequences
seqprecstart

State precarity
seqmeant

Mean durations in each state
seqrecode

Recoding state sequence objects and factors
seqprecarity

Degradation, Precarity, and Insecurity indexes
seqmodst

Sequence of modal states
seqlogp

Logarithm of the probabilities of state sequences
is.eseq

Event sequence object
seqtab

Frequency table of the sequences
seqtransn

Number of transitions in a sequence
str.eseq

String representation of an event sequence object
seqintegr

Integrative potential
seqeapplysub

Checking for the presence of given event subsequences
seqibad

Badness index
seqsubsn

Number of distinct subsequences in a sequence.
seqstatl

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

Complexity index of individual sequences
seqipos

Indicators for binary sequences of positive and negative states.
seqmpos

Number of matching positions between two sequences.
seqstatd

Sequence of transversal state distributions and their entropies
seqnum

Transform into a sequence object with numerical alphabet.
seqstatf

State frequencies in the whole sequence data set