| yearlyFraction | R Documentation | 
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")
t | 
 Object to be converted to a fraction  | 
year | 
 Year to calculate fractions of (allows for leap years)  | 
input | 
 One of POSIXlt (default)  | 
unit | 
 If set to radians outputs a position around a circle. If set to fraction outputs the raw fraction.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.