Learn R Programming

LMoFit (version 0.1.7)

get_julian: Get julian date from the begining of the year

Description

Get julian date from the begining of the year

Usage

get_julian(x)

Value

A julian date between 1 and 365, note that in leap years the day 366 is considered as 365

Arguments

x

date or a series of dates such as, as.Date("yyyy-mm-dd")

Author

Mohanad Zaghloul [aut, cre], Simon Michael Papalexiou [aut, ths], Amin Elshorbagy [aut, ths]

Examples

Run this code

get_julian(x = as.Date("1979-01-15"))

Run the code above in your browser using DataLab