label.endpoints: label endpoints

label.endpointsR Documentation

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.

HJUST

hjust of the labels.

Value

A Positioning Method like first.points or last.points.

Author(s)

Toby Dylan Hocking <toby.hocking@r-project.org> [aut, cre] (ORCID: <https://orcid.org/0000-0002-3146-0865>)


directlabels documentation built on June 8, 2025, 9:35 p.m.