powered by
Create function that adds text elements to vector
add(..., .pos = "bottom")
A function that adds the specified text to character vectors
Elements to add.
Either \"top\" or \"bottom\". Decides if new text is prepended or appended to existing text.
myfun <- add("b","d") myfun("a") myfun2 <- add("b","d",.pos="top") myfun2("a")
Run the code above in your browser using DataLab