diel_period: Diel period

Description Usage Arguments Value

View source: R/diel.R

Description

Calculates whether a date/time is Day or Night based on the latitude and longitude. The default is for the Poisson Consulting Ltd offices.

Usage

1
diel_period(x, Lat = 49.49, Long = -117.3)

Arguments

x

date/time

Lat

a numeric element indicating the latitude.

Long

a numeric element indicating the longitude.

Value

A factor with the levels Day and Night.


poissonconsulting/poiscon documentation built on Feb. 18, 2021, 11:16 p.m.