View source: R/sequence_length_summary.R
count_distinct_elements_per_list_item_shuffled | R Documentation |
This function calculates the number of distinct elements per list item in a list of sequences shuffled using the 'shuffle_sequences_across' function. The shuffling is performed a specified number of times.
count_distinct_elements_per_list_item_shuffled(sequences, iterations = 100)
sequences |
A list of character vectors, where each vector contains sequences of elements separated by spaces. |
iterations |
An integer specifying the number of shuffling iterations. |
A numeric vector of length 'iterations', each element representing the number of distinct elements per list item in a shuffled sequence.
sequences <- c('hello world', 'hello world hello', 'hello world hello world')
count_distinct_elements_per_list_item_shuffled(sequences, iterations = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.