Find minimum value of a vector

find_min(x, y)

Arguments

x

Variable to find the minimum for

y

Variable to find the value for at the maximum of var

Value

Value of val at the minimum of var

Details

Find the value of y at the minimum value of x

Examples

find_min(1:10, 21:30)
#> [1] 21