View source: R/base_functions.R
Aintersectb | R Documentation |
Function which takes as input a 2 column matrix of half-open intervals and a vector of event times and returns the event times that intersect with the half-open intervals.
Aintersectb(A, b, A.left.open = FALSE)
A |
Two column matrix containing intervals |
b |
Vector of event times |
A.left.open |
Are the intervals in A open on the left side? Default = FALSE. |
Numeric vector of event times from b that intersect with A.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.