View source: R/dthelper-maintain-order.R
string.to.vect | R Documentation |
Splits a string into its constituent parts based on a given separator. For example, "A|B" will output "A", "B"
string.to.vect(string, sep = "|")
string |
Input character string |
sep |
Separator value. Defaults to "|" |
character vector
string <- "A|B" string.to.vect(string) string2 <- "A.B" string.to.vect(string2, sep = ".")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.