compute_date_from_day: Convert day number into date

View source: R/compute_date_from_day.R

compute_date_from_dayR Documentation

Convert day number into date

Description

Computes the date corresponding to a given day number (or vector of) with reference to a start year. Typically, the start year should be the year of a STICS simulation start, but not necessarily.

Usage

compute_date_from_day(day, start_year)

Arguments

day

day number(s) to be converted

start_year

year to be used as time reference (simulation start year).

Value

Date vector

Author(s)

Timothee Flutre

Examples


compute_date_from_day(day = 290, start_year = 1994)

compute_date_from_day(day = 700, start_year = 1994)


SticsRFiles documentation built on Sept. 12, 2024, 7:41 a.m.