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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.