powered by
Take the string "rainbow" and replace it with c("red", "orange", "yellow", "green", "blue", "purple")
insert_rainbow(clr)
A character vector of color names.
(character) A vector of one or more colors.
insert_rainbow("rainbow") insert_rainbow(c("lightsteelblue", "rainbow", "lightsalmon"))
Run the code above in your browser using DataLab