split_vector | R Documentation |
split vector into list
split_vector(vector, breaks, bounds = "(]")
vector |
vector |
breaks |
split breaks |
bounds |
"(]" as default, can also be "[), []" |
list
split_vector(1:10, c(3, 7))
split_vector(stringr::str_split("ABCDEFGHIJ", "") %>% unlist(),
c(3, 7),
bounds = "[)"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.