Learn R Programming

LakeMetabolizer (version 1.5.5)

is.night: determines if measurement was taken during the night

Description

determines if measurement was taken during the nighttime

Usage

is.night(datetimes, lat)

Value

a boolean vector of same length as datetimes

Arguments

datetimes

Vector of dates as POSIXct or POSIXlt (see DateTimeClasses) format

lat

Single latitude value of site. South should be negative, north positive

Author

Luke A. Winslow

See Also

is.day sun.rise.set