View source: R/shuffle_sequences_within.R
shuffle_sequences_within | R Documentation |
This function shuffles the elements within each sequence independently.
shuffle_sequences_within(sequences)
sequences |
A character vector of sequences to shuffle. |
A character vector of sequences with elements shuffled within each sequence.
# Example usage:
sequences <- c("A B C", "D E F", "G H I")
result <- shuffle_sequences_within(sequences)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.