View source: R/utility_functions.R
| uninterleave | R Documentation |
Takes a list that is actually interleaved elements from multiple sources
and uninterleaves them into the separate sources. For instance, a list of
blockmeasures that actually corresponds to two different plates can be
split into two lists, each of the blockmeasures corresponding to a single
plate. uninterleave assumes that the desired sub-groups are perfectly
interleaved in the input (e.g. items belong to sub-groups 1,2,3,1,2,3,...)
uninterleave(interleaved_list, n)
interleaved_list |
A |
n |
How many output sub |
A list of lists of R objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.