event_range {linbin}R Documentation

Event Range

Description

Returns the minimum and maximum endpoints of all the events in an event table.

Usage

event_range(e)

Arguments

e

An event table.

See Also

event_coverage for an alternative that accounts for gaps.

Examples

event_range(events(1:5))            # no gaps
event_range(events(c(1,5), c(1,5))) # gaps

[Package linbin version 0.1.3 Index]