# For illustration purpose, we simulate missing data on the mvad dataset,
# available in the TraMineR package. The state "joblessness" state has a
# higher probability of triggering a missing gap
if (FALSE) {
data(mvad, package = "TraMineR")
mvad.miss <- seqaddNA(mvad, var = 17:86, states.high = "joblessness")
# The states that best characterize sequences with missing data
implic <- seqmissimplic(mvad.miss, var = 17:86)
# Visualization of the results
plot(implic)
}
Run the code above in your browser using DataLab