findprev | R Documentation |
Find each entry in y that precedes each entry in x
findprev(x, y)
x |
numeric: vector |
y |
numeric: vector |
vector, each entry is the value in y that is next-smallest to each corresponding entry in x
findprev(c(1,5,10),c(1,2,3,7,8,9))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.