seqi1epi <- function(seqdata) {
dur <- suppressMessages(TraMineR::seqistatd(seqdata))
epi <- ceiling(dur/ncol(seqdata))
colnames(epi) <- paste0("epi", alphabet(seqdata))
return(epi)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.