generate_codes | R Documentation |
This function generates one of four possible codes for sequences: AAA, ABA, ABB, ABC.
generate_codes(sequences)
sequences |
A dataframe containing the input sequences. |
A dataframe of sequences with their corresponding codes.
speaker_no <- c(3, 2, 3, 1, 4, 2, 4, 1, 4, 3, 2, 3)
sequences_df <- generate_sequences(speaker_no, 3)
generate_codes(sequences_df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.