| generate_length_aba | R Documentation |
This function calculates the length of consecutive 'ABA'-coded sequences that share common elements in their ID. It assigns NA to non-'ABA' codes.
generate_length_aba(codes_df)
codes_df |
A dataframe of codes generated by the generate_codes function and processed by the create_is_aba function. |
A dataframe of codes with an additional column representing the length of 'ABA' sequences.
speaker_no <- c(3, 2, 3, 1, 4, 2, 4, 1, 4, 3, 2, 3)
sequences <- generate_sequences(speaker_no, 3)
codes <- generate_codes(sequences)
aba <- create_is_aba(codes)
length_aba <- generate_length_aba(aba)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.