| split_at | R Documentation | 
Split vector
split_at(x, pos)
| x | Vector. | 
| pos | Vector with positions to split. | 
Split vector at position(s).
list
x <- c(1, 2, 3, 1, 5, 3, 1)
split_at(x, pos = c(2, 5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.