1

Using TraMineR I can identify frequent subsequences in a dataset of sequences. However, it only gives me a count of how often such a subsequence occur in the overall dataset, such as that it occurs in 21/22 sequences.

Is there any way of getting indices of exactly which sequences contain a specific frequent subsequence?

histelheim
  • 4,938
  • 6
  • 33
  • 63

1 Answers1

1

See function seqeapplysub.

According to help page: Checks occurrences of the subsequences subseq among the event sequences and returns the result according to the selected method.

Matthias Studer
  • 1,722
  • 1
  • 10
  • 24