### Construction of the LongData
trajA <- as.longData(matrix(c(4,1,1,NA,NA,1,NA,NA,2,2,3,NA),4))
### Selection of the longData with at least 2 values
selectSupTrajMinSize(trajA,2)
### Selection of the longData with no missing value
selectSupTrajMinSize(trajA,3)
Run the code above in your browser using DataLab