findIntervals {textgRid} | R Documentation |
Find intervals within an IntervalTier.
Description
Find intervals according to various search criteria.
Usage
findIntervals(tier, pattern = "*", from = -Inf, to = Inf,
at = numeric(), ...)
Arguments
tier |
An |
pattern |
A regular expression for matching interval labels.
Default is |
from |
A numeric, the earliest time from which to search for intervals.
Default is |
to |
A numeric, the latest time to which to search for intervals.
Default is |
at |
A numeric, an exact time at which to find intervals.
Default is |
... |
optional arguments passed to |
Details
Default behavior of findIntervals
is to search for intervals within
[from, to]
. If the at
argument is a non-empty numeric vector,
then this default behavior is overridden, and the tier
is searched
only at the time given by at
.
Value
A data.frame
whose rows correspond to the intervals found
according to the search criteria, and whose columns are:
$Index
, $StartTime
, $EndTime
, $Label
,