Debian Codegraph @

man/split.Intervals_virtual.Rd

raw
1 \name{split}
2
3 \alias{split}
4 \alias{split.Intervals_virtual}
5 \alias{split,Intervals_virtual-method}
6
7 \title{Split an intervals object according to a factor}
8
9 \description{
10 S3 and S4 methods for splitting \code{"Intervals"} or
11 \code{"Intervals_full"} objects.
12 }
13
14 \usage{
15 \S3method{split}{Intervals_virtual}(x, f, drop = FALSE, ...)
16
17 \S4method{split}{Intervals_virtual}(x, f, drop = FALSE, ...)
18 }
19
20 \arguments{
21
22 \item{x}{ \code{"Intervals"} or \code{"Intervals_full"} objects. }
23
24 \item{f}{ Passed to \code{\link{split.data.frame}}. }
25
26 \item{drop}{ Passed to \code{\link{split.data.frame}}. }
27
28 \item{...}{ Passed to \code{\link{split.data.frame}}. }
29
30 }
31
32 \value{ A list of objects of the same class as \code{x}, split by the
33 levels of \code{f}. Until R 2.15, special handling was not
34 required. Subsequent changes to the \pkg{base} package
35 \code{\link{split}} function required an explicit method here, but
36 code already provided by \code{\link{split.data.frame}} was
37 sufficient. }