Skip to contents

Interval vectors

iv() iv_pairs()
Create an interval vector
iv_diff()
Diff a vector to create an interval vector
iv_start() iv_end()
Access the start or end of an interval vector

Core operations

Relationships between two ivs

iv_overlaps() iv_precedes() iv_follows()
Detect a relationship between two ivs
iv_locate_overlaps() iv_locate_precedes() iv_locate_follows()
Locate relationships between two ivs
iv_count_overlaps() iv_count_precedes() iv_count_follows()
Count relationships between two ivs
iv_pairwise_overlaps() iv_pairwise_precedes() iv_pairwise_follows()
Pairwise detect a relationship between two ivs
iv_align()
Align after locating relationships

Relationships between a vector and an iv

iv_between() iv_includes()
Detect relationships between a vector and an iv
iv_locate_between() iv_locate_includes()
Locate relationships between a vector and an iv
iv_count_between() iv_count_includes()
Count relationships between a vector and an iv
iv_pairwise_between() iv_pairwise_includes()
Pairwise detect relationships between a vector and an iv

Set operations

Allen’s Interval Algebra

iv_relates()
Detect relations from Allen's Interval Algebra
iv_locate_relates()
Locate relations from Allen's Interval Algebra
iv_count_relates()
Count relations from Allen's Interval Algebra
iv_pairwise_relates()
Pairwise detect relations from Allen's Interval Algebra

Developer tools

new_iv()
Construct a new iv
is_iv()
Is x an iv?
iv_proxy() iv_restore()
Proxy and restore
iv_format()
Formatting