nocturnal: calculates time of day information

View source: R/nocturnal.R

nocturnalR Documentation

calculates time of day information

Description

calculates sunset and sunrise for each data point and the distance to it. For nocturnal species sunrise is +1 day of sunset

Usage

nocturnal(data, Lat, Lon, tcol, tz)

Arguments

data

data.frame, data with timestamps

Lat

numeric, reference latitude for sunrise/sunset calculation

Lon

numeric, reference longitude for sunrise/sunset calculation

tcol

string, colname of timestamp column

tz

string, time zone of region ton convert timezone of data to the right format

Author(s)

Jannis Gottwald


Nature40/tRackIT documentation built on Nov. 21, 2023, 3:43 a.m.