View source: R/helpfulfunctions.R
which.index | R Documentation |
Finds the indices where events best match values in a given vector.
which.index(events, record, suppress = TRUE)
events |
Vector describing the values of interest (here: either depth or age of events) |
record |
Vector we want to search (here: either full depth or age record) |
suppress |
Boolean. Set to |
Returns a vector of indices for which elements of record
best matches the elements of events
-
Eirik Myrvoll-Nilsen, eirikmn91@gmail.com
bremla
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.