View source: R/misc_functions.R
splitAt | R Documentation |
Similar to split()
but takes a vector of indexes instead of a group vector.
From SO: https://stackoverflow.com/a/19274414/1498656
splitAt(x, pos, trim_ends = FALSE)
x |
input vector |
pos |
index vector |
trim_ends |
exclude first and last group |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.