powered by
This function shuffles the elements within each sequence independently.
shuffle_sequences_within(sequences)
A character vector of sequences with elements shuffled within each sequence.
A character vector of sequences to shuffle.
# Example usage: sequences <- c("A B C", "D E F", "G H I") result <- shuffle_sequences_within(sequences) print(result)
Run the code above in your browser using DataLab