Returns a vector containing the position of the first occurrence of the given element in each of the sequences in the data set.
a sequence object (see
the state element to search in the sequences
the state to search for has to be passed as a character string, and must be one of the state returned by the
alphabet function. If the state is not contained in a sequence, NA is returned for this sequence.
1 2 3 4 5 6
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.