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.

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 2.1.0 Index]