Hi,
Apologies for this naïve questions
I have the following vector
group_name <- c("red", "green", "blue")
Is there a way to generate a cyclic sequence of this string based on the output length ?
Using function char_seq as example
char_seq (group_name, length = 2)
#gives
c("red", "green")
char_seq (group_name, length = 5)
#gives
c("red", "green", "blue", "red", "green")