powered by
Get location of required.
getWhich(data, fun)
Returns value matching function fun.
Numeric matrix.
Function to search data.
getWhich(rnorm(100), max)
Run the code above in your browser using DataLab