The R TraMineR library is a toolbox for exploring and rendering categorical sequence data such as sequences describing family life trajectories or professional careers. The "traminer" tag is intended for question regarding the library as well as any general questions about the analysis of ...

learn more… | top users | synonyms

-1
votes
0answers
29 views

RStudio crashes usign seqpcplot and seqpcplot TraMineR(extras) [closed]

I'm trying to use the seqpcplot and seqpcplot commands to plot the survival curves and the parallel coordinate plot using the ...
0
votes
0answers
7 views

Creating a sequence object from SPELL data [migrated]

I am trying to create a sequence object with seqdef using SPELL format. Here is an example of my data: ...
1
vote
1answer
46 views

Dummycoding based on clustering from OM distances

I'm using TraMineR to determine a certain clustering based on Optimal Matching distances: ...
2
votes
1answer
37 views

“NAs introduced by coercion” in seqecreate

I am using seqecreate to specify an event sequence object using TraMineR. The dataset has 1271 rows and 4 columns, an id, timestamp (timed), and 2 event variables (one numeric and one string). Most ...
0
votes
0answers
38 views

Questions about seqtreedisplay and GraphViz [closed]

After I installed Graphviz, I used the following command to plot a tree resulting from a tree-structured analysis of my sequences: ...
4
votes
1answer
103 views

Index plot for each cluster sorted by the silhouette

After a cluster analysis I´m trying to plot for each cluster the Index plot of the Silhouette value instead of for the complete dataset (like in the WeightedCluster Library Manual by Matthias ...
0
votes
0answers
43 views

Can the colors be specified for plotting cluster quality summary statistics that are output from as.clustrange? [closed]

I am using a state sequence object with an alphabet of size 10. I ran Ward’s clustering using the hclust() function then ...
0
votes
0answers
108 views

Traminer’s Seqtreedisplay has an error in array [closed]

I have a state sequence object for which I would like to construct a graphical representation of the hierarchical clustering. The clustering worked without any errors but the seqtreedisplay function ...
3
votes
2answers
74 views

User Defined Substitution Cost Matrix

I have a 30x30 symmetric matrix that I would like to use as a substitution cost matrix in TraMineR to analyze sequences of length 10 with an alphabet of 30. When I try to perform OM with this matrix, ...
5
votes
2answers
139 views

Other substitution matrices for missing value state in sequence analysis with TraMineR?

We have a question about how to deal with missing values/gaps within sequences. We like to set up our own substitution-cost matrix for the Optimal Matching process. As far as we know, TraMiner allows ...
3
votes
1answer
53 views

How to calculate turbulence and similarity index with TraMineR?

I am new to sequence analysis and wondering whether TraMineR can calculate Elzinga's turbulence and similarity index or I should learn to use his CHESA software to do this? I appreciate any thoughts ...
4
votes
1answer
139 views

Do low silhouette widths mean the data has little underlying structure?

I am new to sequence analysis, and I was wondering how you react if the average silhouette widths (ASW) from cluster analyses of Optimal Matching-based dissimilarity matrices are low (around.25). ...
2
votes
1answer
40 views

Bootstrap the Complexity Index in (Ex)TraMineR?

I'm computing the Complexity Index using TraMineR. Does it make sense to use the bootstrap procedure in order to obtain the confidence intervals for the Complexity Indexes? In this case, is there a ...
3
votes
1answer
54 views

Legend and TraMiner seqplot.tentrop function

I have a problem with the legend of a TraMineR graph. I have computed the 4 different entropies for the 4 cohorts that I'm analyzing and I would like to plot them in the same graph using the ...
4
votes
2answers
71 views

TraMineR seqLLCS and seqdist reference sequence issue

When comparing the same string sequences in the example below, why does the first call return 0 instead of 7? LCS.ex1[3,] is "S-U-M-S-SC-UC-MC" and LCS.ex2[1,] is also "S-U-M-S-SC-UC-MC". Does one ...
1
vote
0answers
41 views

how to keep covariates when creating a sequence object from a SPELL data

I have a SPELL data in which there are many covariates together with the basic variables (i.e., "id", "begin", "end", and "status"). When I define the SPELL data as a sequence object by "seqdef", it ...
2
votes
2answers
77 views

Modifying the time granularity of a state sequence

I created a sequence object from my SPELL-formatted data set. The sequence length of the sequence object is 1440 (i.e., 1-min intervals for a day). Is there any easy way for TraMineR to convert the ...
3
votes
2answers
99 views

how to randomly select 5% of the sample

The number of sequences in my sequence data is about 5,000, and the sequence length is 1440. In order to reduce computational time to obtain an optimal matching pairwise matrix, I want to randomly ...
4
votes
1answer
69 views

How to find the rows that meet some conditions in a sequence data set

Here is the summary of my sequence data generated in the SPELL format. All sequences are supposed to have the same length of 1440, but the summary tells me that they are not the same (see "min/max ...
2
votes
1answer
75 views

What is the relationship between substitution cost matrix and indel costs?

In TraMineR I might compute dissimilarities as such: ...
1
vote
0answers
41 views

extractSeqFromW function [closed]

I'm using R and the library TraMineR to do sequence analysis on social science data. I need to use the extractSeqFromW function, but I have problems opening the file even if they are exactly in that ...
3
votes
1answer
103 views

Problems with Groups in Traminer

I'm having a problem using the group function in TraMineR. I have a data set that contains SPELL data, so multiple rows per case. I also have demographic data per case, at one row per case. I merge ...
2
votes
1answer
129 views

Optimal matching distances as percentages?

I'm using R and the library TraMineR to do sequence analysis on social science data. I have computed an optimal matching (OM) distance matrix. ...
2
votes
1answer
205 views

How to describe multi-channel sequence objects in TraMineR?

I have created a multi-channel object here: https://github.com/aronlindberg/VOSS-Sequencing-Toolkit/blob/master/creating_multichannel_object.R However, when I try to use various functions to ...