fix documentation for nearestobs