Generates positions for monthly labels of a yearlyPlot() in radians. The positions can either be for the
start of the month, or middle of the month.
Usage
yearlyPositions(year = 2022, format = "months")
Arguments
- year
Year to calculate, which must be a single year
- format
One of months, mid-months, days
Value
A numeric vector of label positions, in radians.
Details
The function allows for leap years if the year parameter is provided.