append_combn | R Documentation |
Create a combination of patterned outputs of x based on head and/or tail elements
append_combn(x, head = NULL, tail = NULL)
x |
A vector of values you wish to append to; will be coerced to |
head |
(optional) A vector of values you wish to append to the head of x. |
tail |
(optional) A vector of values you wish to append to the tail of x. |
A list
of length x, with elements the length of the cartesian product of
length(head)
and length(tail)
.
x <- replicate(10, paste(sample(letters, 3), collapse = "")) append_combn(x, head = ":", tail = "-") append_combn(x, head = c(":", "|"), tail = "-") append_combn(x, head = "_A_") append_combn(x, head = paste0(LETTERS[1:10], "_"), tail = c("-", "_"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.