find the item in a given array that has the difficulty closest to the target value
Array - an array of stimuli sorted by difficulty
number - ability estimate
the index of arr
The input array of stimuli must be sorted by difficulty.
Generated using TypeDoc
find the item in a given array that has the difficulty closest to the target value