Learn R Programming

seas (version 0.5-2)

conv365toGregorian: Converts a data.frame using a 365-day calendar to a Gregorian calendar

Description

Converts a data.frame with a 365-day calendar to a proleptic Gregorian calendar, repeating data from December 30th on a leap year to the remaining and missing December 31st.

Usage

conv365toGregorian(x)

Arguments

x

a data.frame with a date column

Value

Returns a data.frame with Gregorian calendar dates.

Details

This function may be expanded in the future to be more flexible.