Learn R Programming

solartime (version 0.0.4)

computeSunsetHour: computeSunsetHour

Description

Compute the hour of sunrise for given day and coordinates

Usage

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

Value

result of computeSunsetHourDoy

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 computeSunsetHourDoy

Author

Thomas Wutzler