Learn R Programming

GeoLight (version 2.0.0)

geolight.convert: Convert GeoLight Format

Description

Convert GeoLight data

Usage

geolight.convert(tFirst, tSecond, type)

Arguments

tFirst
times of first twilight.
tSecond
times of second twilight.
type
type of twilight.

Value

A data frame with columns
twilight
times of twilight as POSIXct objects.
rise
logical vector indicating which twilights are sunrise.

Details

This function converts from the tFirst, tSecond format used by GeoLight to the twilight, rise format used by Stella and Estelle.