Package: ivs 0.2.0.9000

ivs: Interval Vectors

Provides a library for generic interval manipulations using a new interval vector class. Capabilities include: locating various kinds of relationships between two interval vectors, merging overlaps within a single interval vector, splitting an interval vector on its overlapping endpoints, and applying set theoretical operations on interval vectors. Many of the operations in this package were inspired by James Allen's interval algebra, Allen (1983) <doi:10.1145/182.358434>.

Authors:Davis Vaughan [aut, cre], Posit Software, PBC [cph, fnd]

ivs_0.2.0.9000.tar.gz
ivs_0.2.0.9000.zip(r-4.5)ivs_0.2.0.9000.zip(r-4.4)ivs_0.2.0.9000.zip(r-4.3)
ivs_0.2.0.9000.tgz(r-4.4-any)ivs_0.2.0.9000.tgz(r-4.3-any)
ivs_0.2.0.9000.tar.gz(r-4.5-noble)ivs_0.2.0.9000.tar.gz(r-4.4-noble)
ivs_0.2.0.9000.tgz(r-4.4-emscripten)ivs_0.2.0.9000.tgz(r-4.3-emscripten)
ivs.pdf |ivs.html
ivs/json (API)
NEWS

# Install 'ivs' in R:
install.packages('ivs', repos = c('https://davisvaughan.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/davisvaughan/ivs/issues

Pkgdown site:https://davisvaughan.github.io

On CRAN:

7.03 score 48 stars 2 packages 37 scripts 318 downloads 67 exports 5 dependencies

Last updated 2 years agofrom:a93a4467a6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 11 2024
R-4.5-winOKDec 11 2024
R-4.5-linuxOKDec 11 2024
R-4.4-winOKDec 11 2024
R-4.4-macOKDec 11 2024
R-4.3-winOKDec 11 2024
R-4.3-macOKDec 11 2024

Exports:is_iviviv_aligniv_betweeniv_complementiv_containersiv_count_betweeniv_count_followsiv_count_includesiv_count_overlapsiv_count_precedesiv_count_relatesiv_diffiv_differenceiv_endiv_followsiv_formativ_groupsiv_identify_containeriv_identify_containersiv_identify_groupiv_identify_splitsiv_includesiv_intersectiv_locate_betweeniv_locate_containersiv_locate_followsiv_locate_groupsiv_locate_includesiv_locate_overlapsiv_locate_precedesiv_locate_relatesiv_locate_splitsiv_overlapsiv_pairsiv_pairwise_betweeniv_pairwise_complementiv_pairwise_differenceiv_pairwise_followsiv_pairwise_includesiv_pairwise_intersectiv_pairwise_overlapsiv_pairwise_precedesiv_pairwise_relatesiv_pairwise_set_complementiv_pairwise_set_differenceiv_pairwise_set_intersectiv_pairwise_set_symmetric_differenceiv_pairwise_set_unioniv_pairwise_spaniv_pairwise_symmetric_differenceiv_pairwise_unioniv_precedesiv_proxyiv_relatesiv_restoreiv_set_complementiv_set_differenceiv_set_intersectiv_set_symmetric_differenceiv_set_unioniv_spaniv_splitsiv_startiv_symmetric_differenceiv_unionnew_iv

Dependencies:cligluelifecyclerlangvctrs

Introduction to ivs

Rendered fromivs.Rmdusingknitr::rmarkdownon Dec 11 2024.

Last update: 2023-03-17
Started: 2022-04-01

Stack Overflow Examples

Rendered fromexamples.Rmdusingknitr::rmarkdownon Dec 11 2024.

Last update: 2023-03-01
Started: 2022-04-05

Readme and manuals

Help Manual

Help pageTopics
Count relations from Allen's Interval Algebraallen-relation-count iv_count_relates
Detect relations from Allen's Interval Algebraallen-relation-detect iv_relates
Pairwise detect relations from Allen's Interval Algebraallen-relation-detect-pairwise iv_pairwise_relates
Locate relations from Allen's Interval Algebraallen-relation-locate iv_locate_relates
Is 'x' an iv?is_iv
Create an interval vectoriv iv_pairs
Align after locating relationshipsiv_align
Diff a vector to create an interval vectoriv_diff
Formattingiv_format
Pairwise spaniv_pairwise_span
Spaniv_span
Access the start or end of an interval vectoriv-accessors iv_end iv_start
Containersiv-containers iv_containers iv_identify_container iv_identify_containers iv_locate_containers
Proxy and restoreiv-genericity iv_proxy iv_restore
Group overlapping intervalsiv-groups iv_groups iv_identify_group iv_locate_groups
Pairwise set operationsiv-set-pairwise iv_pairwise_set_complement iv_pairwise_set_difference iv_pairwise_set_intersect iv_pairwise_set_symmetric_difference iv_pairwise_set_union
Set operationsiv-sets iv_set_complement iv_set_difference iv_set_intersect iv_set_symmetric_difference iv_set_union
Splitsiv-splits iv_identify_splits iv_locate_splits iv_splits
Construct a new ivnew_iv
Count relationships between two ivsiv_count_follows iv_count_overlaps iv_count_precedes relation-count
Detect a relationship between two ivsiv_follows iv_overlaps iv_precedes relation-detect
Pairwise detect a relationship between two ivsiv_pairwise_follows iv_pairwise_overlaps iv_pairwise_precedes relation-detect-pairwise
Locate relationships between two ivsiv_locate_follows iv_locate_overlaps iv_locate_precedes relation-locate
Count relationships between a vector and an iviv_count_between iv_count_includes vector-count
Detect relationships between a vector and an iviv_between iv_includes vector-detect
Pairwise detect relationships between a vector and an iviv_pairwise_between iv_pairwise_includes vector-detect-pairwise
Locate relationships between a vector and an iviv_locate_between iv_locate_includes vector-locate