diny: Number of days in the year

Description Usage Arguments Value Examples

View source: R/IRmapping_functions.R

Description

Computes the number of days in a given year, taking in account leap years

Usage

1
diny(year)

Arguments

year

Numeric or integer vector of the year (format: 4-digit year, %Y).

Value

Number of days in that year.

Examples

1
2
3
4
5
diny(1999)
diny(2000)
diny(2004)
diny(2100)
diny(1600)

messamat/globalIRmap documentation built on July 4, 2021, 10:48 a.m.