combine2 | R Documentation |
Esegue il prodotto cartesiano degli array di stringhe passati come argomento
combine2(..., prefix, sep)
... |
stringhe su cui eseguire il prodotto cartesiano |
prefix |
eventuale prefisso da applicare |
sep |
separatore da utilizzare |
a = c("A", "B")
b = c("1", "2", "3")
combine2(a,b)
# ritorna "A1" "B1" "A2" "B2" "A3" "B3"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.