Returns the length of sequences.
a sequence object created with the
The length of a sequence is computed by eliminating the missing values at the end (right) and counting the number of states or events. The
seqlength function returns a vector containing the length of each sequence in the sequence object given as argument.
1 2 3 4 5 6 7 8 9
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.