R/yearlyPlot.R
yearlyFraction.Rd
Given an object that can be coerced to POSIXlt, return the fraction of a year represented by the object.
yearlyFraction(t, year = 2022, input = "POSIX", unit = "radians")
Object to be converted to a fraction
Year to calculate fractions of (allows for leap years)
One of POSIXlt (default)
If set to radians outputs a position around a circle. If set to fraction outputs the raw fraction.