sun_times: Get sunrise/sunset times

View source: R/sun.R

sun_timesR Documentation

Get sunrise/sunset times

Description

Calculate times of sunrise and sunset depending on the location and the date.

Usage

sun_times(loc, date, angle = 6, interval = "none", type = "riseset")

Arguments

loc

Vector/Data frame. Longitude and Latitude coordinates for location of sun rise/set

date

Vector. Date(s) to calculate sun rise/set for.

angle

Numeric. For type = "riseset" the angle of the sun (6 = civil twilight)

interval

Character. How to organize the sunrise/sunset times

type

Character. What kind of sunrise/sunset to calculate


steffilazerte/cavityuse documentation built on Aug. 4, 2022, 11:22 p.m.