Calculate the label angle
calculate_angle.Rd
Get the angle from the end points of the segment. The angles makes the segment labels perpendicular to the circle. An angle of 0 is the positive x-axis so the angle adjustment is directly the correction for ggplot. A correction is applied to make the labels on the left side of the plot more readable.