Skip to main content

All Questions

Tagged with
1 vote
2 answers
51 views

adjusting the legend in TramineR plots

I am new to using TramineR and I just cannot seem to figure out how to arrange the legend in any of the plot types. The legend keeps being cut off by the plots. I have tried to use the seqlegend ...
user25809482's user avatar
1 vote
1 answer
35 views

Setting a minimum length for subsequences?

I'm using TraMineR to analyze the transitions between states over a 30 minute trial. There are 10 states, and then missing values, for the entire 108,000 frames. When I get the subsequences, it ...
Becca Trapp's user avatar
2 votes
1 answer
81 views

I can't work out the entropy formula for TraMineR

I used the ggseqplot() library to calculate the entropy from the TraMineR library. To familiarise myself with the formula, I tried unsuccessfully to calculate it by hand using simple example data. ...
JC_'s user avatar
  • 55
-1 votes
1 answer
73 views

Modify the x axis labels of the library (ggseqplot)

I use the library (ggseqplot) to display a TraMineR graph in ggplot2 format. library(ggseqplot) plot <- ggseqdplot(mvad.seq) I get this figure: I would like to modify the x axis labels which is ...
JC_'s user avatar
  • 55
1 vote
2 answers
96 views

TraMineR - Seqiplot include more x axis labels and rotation

I would be very grateful for advice. I would would like to include all x-axis labels on ticks, reduce the font size so that they don't overlap and rotate them. In this example, there are 23 tick marks ...
SK77's user avatar
  • 115
0 votes
1 answer
59 views

TraminR sequence plosts

I'm trying to use ggplot to create sequence plots, for the sake of keeping the same visual style within my paper using sequence analysis As I have 8 seqiplot plot I would like to make it into one ...
Rstudent's user avatar
  • 885
1 vote
2 answers
120 views

Convert long data.frame to sequence in TraMineR

I have a data.frame in long format, that I want to convert to a TraMineR sequence object. set.seed(1) df <- data.frame(year = rep(1990:2010, 3), id = rep(1:3, each = 21), ...
Maël's user avatar
  • 50.9k
3 votes
1 answer
48 views

Regression tree size in the context of state sequence analysis using TraMineR in R

I am conducting a regression tree using state sequence analysis and I want the image output to have the dimensions of a Letter size paper (landscape). When I use the code I include the regression tree ...
idborquez's user avatar
2 votes
1 answer
107 views

TraMineR function seqfplot() yaxis: show percentage value for each sequence

I used to use TraMineR function seqfplot() with argument yaxis = "pct", which nicely put the percentage value for each sequence on the y-axis. Somewhere along the way some update of the ...
Henrik's user avatar
  • 65
1 vote
1 answer
64 views

TraMineR seqcost time.varying

How do you use the time varying substitution cost (time.varying = T) created with the seqcost function in TraMineR? It does not seem to work. library(TraMineR) data(biofam) biofam.seq <- seqdef(...
giac's user avatar
  • 4,289
2 votes
3 answers
246 views

Traminer R for sequence analysis: how to account for state order besides spell lenght?

I'm doing sequence analysis with Traminer on R and I would like to take into account only the order of different spells over time. For instance, I would like that the sequence A-B-A would be ...
ggg's user avatar
  • 83
1 vote
1 answer
58 views

Extracting a portion of the generated Representative Sequences

So, I have a set of 893 sequences of varying lengths with max sequence length = 152. There are 10 unique states across all of them. These sequences are split into two groups: Promoted and Not Promoted....
Anand Vamsi's user avatar
3 votes
1 answer
94 views

Arranging Plots from TraMineR and seqHMM

I want to plot two sequence distribution plots with the TraMineR package (seqplot(type = 'd')) and below them two Hidden Markov Models which correspond to the sequence plots (those are clusters). For ...
BossVom Schloss's user avatar
1 vote
1 answer
146 views

I installed GraphViz to run the 'seqtreedisplay' function in R (TraMineR), but I keep running into error messages

I am trying to run the 'seqtreedisplay()' function using TraMineR, but I keep running into the error message below: > seqtreedisplay(wardTree, type = "d", border = NA, show.depth = TRUE) ...
chano's user avatar
  • 13
1 vote
2 answers
99 views

Is there a way for TraMineR to find the first time leaving a state for each observation?

I am analysing data on the UK labour market and have my data in wide form, with each column corresponding to a particular month, and each row corresponding to a particular individual. Is there a way ...
James's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
12