closest.Rd
Find the closest point in the dataframe to a given point, and return the corresponding section and distance.
closest(e, df)
A numeric vector representing the point coordinates.
A data frame containing the reference points.
A numeric vector representing the section and distance.