zeitgeber: Create Table of Time Cues

Description Usage Arguments Details Value

View source: R/zeitgeber.R

Description

Zeitgeber, Geman for time-giver, are external cues that help synchronize an organism's biolgical rhythms to Earth's day/night cycles and seasons. This eponymous function takes a vector of date/time values (plus latitude/longitude values retrieved from the session options; see Details) and returns a dplyr::data_frame() of zeitgeber features.

Usage

1
2
zeitgeber(time = Sys.time(), lat = getOption("DarkSky")$lat,
  lon = getOption("DarkSky")$lon)

Arguments

time

vector of date/time values

lat

latitude (in decimal degrees). Positive north; negative south.

lon

longitude (in decimal degrees). Positive east; negative west.

Details

This function retrieves location information saved in options()$DarkSky. Before calling this function, set your credentials and other configuration details with a call to set_configuration.

Value

Returns a data_frame with the following diurnal features:


fascinatingfingers/zeitgebeR documentation built on Oct. 25, 2019, 4:50 p.m.