Description Usage Arguments Details Value See Also Examples
split divides the data in a vector-like object x into the
groups defined by f.
NOTE: This man page is for the split methods defined in the
S4Vectors package. See ?base::split for the
default method (defined in the base package).
1 2 3 4 5 6 7 8 9 10 11 |
x, f |
2 vector-like objects of the same length. |
drop |
Logical indicating if levels that do not occur should be dropped (if
|
... |
Arguments passed to |
The first 3 methods just delegate to the
IRanges::splitAsList function defined in the
IRanges package.
The method for list does:
1 |
All these methods behave like base::split except that the
first 3 methods return a List object instead of an ordinary list.
The split function in the base package.
The splitAsList function in the IRanges
package.
Vector and List objects.
Rle and DataFrame objects.
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.