seqdecomp: Convert a character string into a vector of states or events
Description
For the moment, each character in the string will be considered to be one state or event = this function will not give accurate results if the character string representing the sequence contains events or states coded with more than one character.
the list of columns containing the sequences. Defaut to NULL, ie all the columns. Whether the sequences are in the compressed (character strings) or extended format is automatically detected by counting the number of columns.
sep
the between states/events separator used in the input data set. Default to '-'.
miss
the symbol for missing values (if any) used in the input data set. Default to 'NA'.
vnames
optional names for the column/variables of the output data set. Default to NULL.