Returned value is indexed beginning at 1

stack_which_min(v)

Arguments

v

3D array that may contain NA values

Value

a matrix with the minimum index for each [row, col, ]