findnext | R Documentation |
Find each entry in y that follows each entry in x
findnext(x, y)
x |
numeric: vector |
y |
numeric: vector |
vector, each entry is the value in y that is next-largest to each corresponding entry in x
findnext(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.