findPoints: Find points within a PointTier.

Description Usage Arguments Value See Also

Description

Find points according to various search criteria: e.g., that occur within a time range, whose labels match a pattern.

Usage

1
findPoints(tier, pattern = "*", from = -Inf, to = Inf, ...)

Arguments

tier

A PointTier object.

pattern

A regular expression for matching point labels. Default is '*' so that the search finds all points within [from, to].

from

A numeric, the earliest time from which to search for points. Default is -Inf so that the search includes the start of tier.

to

A numeric, the latest time to which to search for points. Default is Inf so that the search includes the end of tier.

...

optional arguments passed to grep.

Value

A data.frame whose rows correspond to the points found according to the search criteria, and whose columns are: $Index, $Time, $Label.

See Also

PointTier-class, grep


textgRid documentation built on May 1, 2019, 10:26 p.m.