Year_Day: Regularly spaced year plus day of year

View source: R/Year_Day.R

Year_DayR Documentation

Regularly spaced year plus day of year

Description

Regularly spaced year plus day of year. This year day format is commonly used in NASS Ocean Color product

Usage

Year_Day(...)

Arguments

...

Arguments passed to timeSequence

from

starting date, required.

to

end date, optional. If supplied, to must be after (later than) from.

by

a character string, containing one of "sec", "min", "hour", "day", "week", "month" or "year". This can optionally be preceded by an integer and a space, or followed by "s". character string "quarter" that is equivalent to "3 months". A number, taken to be in seconds. A object of class 'difftime'

Details

This function's Arguments follow timeSequence

Value

a numeric vector of year plus day of year

Author(s)

Chih-Lin Wei <chihlinwei@gmail.com>

Examples

Year_Day("1998-01-01", "1999-12-01", by="month")
LazyData: true

chihlinwei/OceanData documentation built on Sept. 26, 2022, 2:47 p.m.