get_angle {volker} | R Documentation |
Angle labels
Description
Calculate angle for label adjustment based on character length.
Usage
get_angle(labels, threshold = 20, angle = 45)
Arguments
labels |
Vector of labels to check. The values are converted to characters. |
threshold |
Length threshold beyond which the angle is applied. Default is 20. |
angle |
The angle to apply if any label exceeds the threshold. Default is 45. |
Value
A single angle value.
[Package volker version 3.0.0 Index]