Skip to main content

Questions tagged [traminer]

The R TraMineR library is a toolbox for exploring and rendering categorical sequence data such as sequences describing family life trajectories or professional careers. This "traminer" tag is intended for questions related to the usage including data preparation and output handling of TraMineR and its companion TraMineRextras, WeightedCluster, and PST packages.

4 votes
1 answer
117 views

Traminer: Mean time barplot with number of observations

Because I am still new to TraMineR, my problem may seem trivial to most of you. I'm working on meantime plots with my data and would I like to plot on the bar charts the mean time spent in different ...
Rstudent's user avatar
  • 885
1 vote
1 answer
108 views

TramineR proportion per cluster

I am new to TramineR and using seqdplot() command I created a plot to visualize cluster patterns. Is there a way to plot the proportions of each cluster (as seen on the plot below)?
Rstudent's user avatar
  • 885
1 vote
2 answers
130 views

Mean time spent in each state per cluster - TramineR

I would like to create a table (and not a plot) with the mean time spent in each state per cluster. Is there a way to do this with TramineR?
Rstudent's user avatar
  • 885
2 votes
2 answers
627 views

TramineR sequence plot with ggplot2

I'm new to the TramineR package and would like to use ggplot to create a state distribution plot. The plot below was created with the TramineR package, but how can I extract the data and plot it with ...
Rstudent's user avatar
  • 885
1 vote
1 answer
61 views

TraMineR graphics not reactive to layout of R

##PACKAGES library(tidyverse,quietly=TRUE) library(TraMineR) library(WeightedCluster, quietly = TRUE) library(viridis) library(seqhandbook, quietly = TRUE) Here is a representation of my dataset: ...
Seydou GORO's user avatar
  • 1,263
1 vote
1 answer
107 views

how to remove "Modal state sequence" field from seqmsplot

Hi I would like to make a plot of the sequence of modal states (seqmsplot in TraMineR) but because I am making a figure which consists some other plots I would like to remove the in-build subtitle ...
Pipps Blitz's user avatar
1 vote
1 answer
47 views

issue with biofam3c data in SeqHMM

I have the data which is biofam3c in package SeqHMM in list format. I wanted to see it in matrix form. I used this command matrix_biofam3c= matrix(unlist(biofam3c), ncol=16, byrow= TRUE) But its ...
Rizwan Niaz's user avatar
2 votes
1 answer
254 views

R: TraMineR Conversion Between sequence formats SPELL to STS with out dates?

I am trying to study the volunteer trajectories of a group of individuals. My data looks like something like this. ID Program Area Impact Area Hours Served Organization Served 1 Tutoring ...
r_mpp's user avatar
  • 21
1 vote
1 answer
220 views

The difference between max.gap and window.size in seqeconstraint

I am having hard time understanding the difference between max.gap and window.size and how they work. Let's say I have the following sequence: 947-(SP6)-992-(CP2)-2-(SP6)-4-(SP10), where the numbers ...
renakre's user avatar
  • 8,243
1 vote
1 answer
538 views

Is TraMineR appropriate for data with different sequence length?

My data has the sequence of each student's page visit behaviors during a learning session. For example (below) Student 1 read instructions, visited three pages ("Visit-Visit-Visit"), and ...
jakeM's user avatar
  • 11
1 vote
1 answer
466 views

Remove missing data state ‘%’ when using TraMineR’s seqpcplot() function

I am trying to conduct event sequence analysis on longitudinal survey data. I want to create a plot which looks like this (pg. 44 of https://www.researchgate.net/publication/...
Misc584's user avatar
  • 357
1 vote
1 answer
765 views

Too many unique sequences

I have a large dataset with above 2 million sequences, including about 180,000 unique ones. I am using the seqdist command to measure distances, and I'll ultimately also try to identify clusters of ...
Julien Clément's user avatar
1 vote
1 answer
136 views

How do I use state data from BORIS with TraMineR?

I am struggling to figure out how to convert the BORIS output into one of the state sequence analysis formats that I can analyze with TraMineR. The BORIS outputs are basically tables that look like ...
K8Otter's user avatar
  • 95
4 votes
1 answer
294 views

Figure margins too large on TraMineR plot

Im trying to graph types as shown here http://traminer.unige.ch/preview-typology.shtml I can only fit 8 types in my screen until i get the error Error in plot.new() : figure margins too large. That´s ...
Joaquín Carrascosa's user avatar
2 votes
1 answer
126 views

TraMineR, how to retrive the clustering score

I've only been using R for a short time. I use R 3.4.4. For a study I created clusters as follows: library('cluster') clusterward2 <- agnes(dist.om2, diss = TRUE, method = "ward") plot(...
Silvia Federzoni's user avatar

15 30 50 per page
1 2
3
4 5
15