sol_angles | R Documentation |
Calculates solar azimuth and solar elevation angle.
sol_angles(...) ## S3 method for class 'POSIXt' sol_angles(datetime, lat, lon, ...) ## S3 method for class 'weather_station' sol_angles(weather_station, ...)
... |
Additional parameters passed to later functions. |
datetime |
POSIXt object (POSIXct, POSIXlt). See base::as.POSIXlt and base::strptime for conversion. |
lat |
Latitude in decimal degrees. |
lon |
Longitude in decimal degrees. |
weather_station |
Object of class weather_station. |
data.frame with two columns: sol_azimuth and sol_elevation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.