Find maximum value of a vector
find_max(x, y)
Arguments
x |
Variable to find the maximum for |
y |
Variable to find the value for at the maximum of var |
Value
Value of val at the maximum of var
Details
Find the value of y at the maximum value of x
Examples
find_max(1:10, 21:30)
#> [1] 30