ydays {CNID} | R Documentation |
Calculate the number of days in a specified year
Description
Calculate the number of days in a specified year.
Usage
ydays(year = as.integer(format(Sys.Date(), "%Y")))
Arguments
year |
A given year, the default is current year. |
Value
Days in a specified year.
Examples
ydays(2022)
[Package CNID version 1.3.1 Index]