label.endpoints: label endpoints
Description
Make a Positioning Method that labels a certain x value.
Usage
label.endpoints(FUN,
HJUST)
Arguments
FUN
FUN(d$x) should return an index of which point to label. for
example you can use which.min or which.max.