split_blocks | R Documentation |
Splits a vector-valued object into a list of sub-blocks defined by a vector of indices.
split_blocks(x, indices, ...)
## S4 method for signature 'NeuroVec,integer'
split_blocks(x, indices, ...)
## S4 method for signature 'NeuroVec,factor'
split_blocks(x, indices, ...)
## S4 method for signature 'NeuroVec,factor'
split_blocks(x, indices, ...)
x |
a vector-valued object |
indices |
a vector of indices defining the sub-blocks. Must match the length of the input vector. |
... |
additional arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.