# A small subset (100 high and 100 low achievers) without the test
sequences <- rbind(head(group_regulation, 100), tail(group_regulation, 100))
group <- rep(c("High", "Low"), each = 100)
compare_sequences(sequences, group, test = FALSE)
# \donttest{
# With the permutation test (small number of iterations for CRAN)
sequences <- rbind(head(group_regulation, 500), tail(group_regulation, 500))
group <- rep(c("High", "Low"), each = 500)
compare_sequences(sequences, group, sub = 2:3, iter = 20)
# }
Run the code above in your browser using DataLab