View source: R/base_functions.R
ainB | R Documentation |
Function which takes as input a vector a with event times and a 2 column matrix B representing half-open intervals (l, R] and checks whether each event time is contained in each half-open interval.
ainB(a, B)
a |
Vector of event times |
B |
Two column matrix containing intervals |
Matrix of size (length(a) * nrow(B)) with binary values indicating whether the event times in a are contained in the intervals of B
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.