attract_proportionally {ggarchery} | R Documentation |
Move points towards each other a proportion of the distance between them
attract_proportionally(x, xend, y, yend, prop_start, prop_end)
x , xend , y , yend |
The coordinates of the start and end of the segment |
prop_start , prop_end |
How much (proportionally) to take off the start and end of the line |
A named list of new coordinates for the start and end of the line