Learn R Programming

solartime (version 0.0.4)

computeSunriseHour: computeSunriseHour

Description

Compute the hour of sunrise for given day and coordinates

Usage

computeSunriseHour(timestamp, latDeg, longDeg = NA, 
    timeZone = getHoursAheadOfUTC(timestamp), 
    ...)

Value

result of computeSunriseHourDoy

Arguments

timestamp

POSIXt vector

latDeg

Latitude in (decimal) degrees

longDeg

Longitude in (decimal) degrees (not required if solar time is sufficient)

timeZone

Time zone (in hours) ahead of UTC (Central Europe is +1) (not required if solar time is sufficient)

...

further arguments to computeSunriseHourDoy

Author

Thomas Wutzler