get_angle {volker} | R Documentation |
Angle labels
Description
Calculate angle for label adjustment based on character length.
Usage
get_angle(
labels,
threshold = VLKR_PLOT_ANGLE_THRESHOLD,
angle = VLKR_PLOT_ANGLE_VALUE
)
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. Override with |
angle |
The angle to apply if any label exceeds the threshold.
Default is 45. Override with |
Value
A single angle value.
[Package volker version 3.1.0 Index]