Learn R Programming

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

TraMineR (version 2.2-1)

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

Version

2.2-1

License

GPL (>= 2)

Maintainer

Gilbert Ritschard

Last Published

October 24th, 2020

Functions in TraMineR (2.2-1)

alphabet

Get or set the alphabet of a state or event sequence object
TraMineR.check.depr.args

Checking and managing deprecated arguments
TraMineRInternal

Access to TraMineR internal functions
TraMineR.checkupdates

Check for TraMineR updates
cpal

Get or set the color palette of a sequence object
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
TraMineR-package

Trajectory Miner: a Toolbox for Exploring and Rendering Sequences
biofam

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

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

Graphical representation of a dissimilarity tree
dissassoc

Analysis of discrepancy from dissimilarity measures
disscenter

Compute distances to the center of a group
ex1

Example data set with missing values and weights
dissmfacw

Multi-factor ANOVA from a dissimilarity matrix
disstree

Dissimilarity Tree
seqalign

Computation details about a pairwise alignment
seqST

Sequences turbulence
plot.stslist

Plot method for state sequence objects
dissrep

Extracting sets of representative objects using a dissimilarity matrix
plot.stslist.meant

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

Plot method for sequence frequency tables
ex2

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

Plot method for modal state sequences
disstreeleaf

Terminal node membership
seqdiff

Position-wise discrepancy analysis between groups of sequences
plot.stslist.rep

Plot method for representative sequence sets
plot.subseqelist

Plot frequencies of subsequences
famform

Example data set: sequences of family formation
seqdef

Create a state sequence object
is.stslist

Test if is a proper state sequence (stslist) object
seqcomp

Compare two state sequences
seqeid

Retrieve unique ids from an event sequence object.
seqLLCP

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

Concatenate vectors of states or events into a character string
dissvar

Dissimilarity based discrepancy
mvad

Example data set: Transition from school to work
seqelength

Lengths of event sequences
seqLLCS

Compute the length of the longest common subsequence of two sequences
plot.stslist.statd

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

Plot discriminant subsequences
seqformat

Conversion between sequence formats
seqlength

Sequence length
seqeapplysub

Checking for the presence of given event subsequences
seqcost

Generate substitution and indel costs
seqivolatility

Volatility of individual state sequences
seqdur

Extract state durations from a sequence object.
is.eseq

Event sequence object
plot.seqdiff

Plotting a seqdiff object.
seqdim

Dimension of a set of sequences
seqlegend

Plot a legend for the states in a sequence object
seqfpos

Search for the first occurrence of a given element in a sequence
print.stslist

Print method for state sequence objects
read.tda.mdist

Read a distance matrix produced by TDA.
seqecontain

Check if sequence contains events
seqeconstraint

Setting time constraints and the counting method
seqdecomp

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

Random sequences generation
seqstatd

Sequence of transversal state distributions and their entropies
seqdistmc

Multichannel distances between sequences
seqlogp

Logarithm of the probabilities of state sequences
seqici

Complexity index of individual sequences
seqeweight

Setting or retrieving weights of an event sequence object.
seqetm

Create a transition-definition matrix
seqpcplot

Parallel coordinate plot for sequence data
seqtreedisplay

Graphical rendering of a sequence regression tree
seqdss

Extract sequences of distinct successive states
seqipos

Indicators for binary sequences of positive and negative states.
seqintegration

Integrative potential
seqdist

Distances (dissimilarities) between sequences
seqrep

Extracting sets of representative sequences
seqivardur

Variance of spell durations in individual sequences
seqsep

Adds separators to sequences stored as character string
seqistatd

State frequencies in each individual sequence
seqecmpgroup

Identifying discriminating subsequences
seqecreate

Create event sequence objects.
seqstatl

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

Number of distinct subsequences in a sequence.
seqplot

Plot state sequence objects
seqtransn

Number of transitions in a sequence
seqstatf

State frequencies in the whole sequence data set
seqtab

Frequency table of the sequences
seqefsub

Searching for frequent subsequences
seqient

Within sequence entropies
seqfind

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

Check if sequences are in the compressed or extended format
seqmeant

Mean durations in each state
str.eseq

String representation of an event sequence object
seqtree

Tree structured analysis of a state sequence object.
seqprecstart

State precarity
seqmodst

Sequence of modal states
stlab

Get or set the state labels of a sequence object
seqrecode

Recoding state sequence objects and factors
seqtrate

Compute transition rates between states
seqindic

Sequence indicators
seqmpos

Number of matching positions between two sequences.
seqnum

Transform into a sequence object with numerical alphabet.
seqpm

Find substring patterns in sequences
seqprecarity

Precarity index