split.Intervals_virtual: Split an intervals object according to a factor

Description Usage Arguments Value

Description

S3 and S4 methods for splitting "Intervals" or "Intervals_full" objects.

Usage

1
2
3
4
5
## S3 method for class 'Intervals_virtual'
split(x, f, drop = FALSE, ...)

## S4 method for signature 'Intervals_virtual'
split(x, f, drop = FALSE, ...)

Arguments

x

"Intervals" or "Intervals_full" objects.

f

Passed to split.data.frame.

drop

Passed to split.data.frame.

...

Passed to split.data.frame.

Value

A list of objects of the same class as x, split by the levels of f. Until R 2.15, special handling was not required. Subsequent changes to the base package split function required an explicit method here, but code already provided by split.data.frame was sufficient.



Search within the intervals package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.