yday2: Calculate the day of the year as TNC does in their IHA...

Description Usage Arguments

View source: R/yday2.R

Description

The day of the year can be calculated using yday from the lubridate package. This function does the same but, does it like TNC's version of the IHA software. They count days as if every year was leap year; every year has 366 days.

Usage

1
  yday2(x)

Arguments

x

a date object that can be handled by the lubridate package


IHA documentation built on May 31, 2017, 2:57 a.m.