View source: R/check_overlap.R
check_overlap | R Documentation |
Takes 2 intervals and computes how much they overlap.
check_overlap(note1, note2)
note1 |
: A 2-dim numeric vector. |
note2 |
: A 2-dim numeric vector. |
A numeric scalar value indicating the amount of overlap. If the intervals do not overlap, the value is 0.
note1 = c(1,5), note2 = c(3,4)
check_overlap(note1, note2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.