Learn R Programming

skyscapeR (version 1.0.0)

solar.date: Solar Date

Description

Returns the calendar date when the sun has the same declination as the input declination.

Usage

solar.date(dec, year, calendar, verbose = T)

Arguments

dec

Single value or array of declination values.

year

Year for which to do calculations.

calendar

(Optional) Calendar used for output. G for gregorian and J for julian. Defaults to Gregorian.

verbose

(Optional) Boolean to control whether or not to display text. Default is TRUE.

Examples

Run this code
# NOT RUN {
solar.date(-23, 2018)
solar.date(-12, 1200, calendar='G')
solar.date(-12, 1200, calendar='J')
solar.date(14, -2000)
# }

Run the code above in your browser using DataLab