All Questions
Tagged with sequence-analysis sequence
2
questions
1
vote
1
answer
72
views
Sequence alignment for hierarchical cluster analysis on categorical sequence data
I have a dataset of short-term behaviors displayed by 30 individuals.
#Load packages
library(TraMineR)
# Function to generate a random non-numerical sequence
generate_random_sequence <- function(...
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 ...