Learn R Programming

FAO56 (version 1.0)

EarSunDis: Inverse Earth-Sun Distance (d_r)

Description

EarSunDis returns the inverse earth-sun distance.

Usage

EarSunDis(date)

Value

The function returns the value of inverse relative earth-sun distance as a numeric scalar.

Arguments

date

Optional. A character string that denotes the date in the format "Year-Month-Day" or "Year/Month/Day".

Details

This is a function to calculate the inverse earth-sun distance.

See Also

JulDate.

Examples

Run this code
EarSunDis("2020/08/25")

Run the code above in your browser using DataLab