Usage
twilightCalc(datetime, light, LightThreshold = TRUE, preSelection = TRUE, maxLight = NULL, ask = TRUE, nsee = 500, allTwilights = FALSE)
Arguments
datetime
date and time of light intensity measurements e.g.
2008-12-01 08:30 "UTC" (see:
as.POSIXct
,time zones). light
numerical
value of the light intensity (usually
arbitrary units).
LightThreshold
the light intensity threshold for the twilight event
calibration. If Default
, it will be set slightly above (3 units) the
baseline level (measurement during the night).
preSelection
codelogical, if TRUE a pre selection of all calculated
twiligth events will be offered within the interactive process (ask=TRUE).
maxLight
if the geolocator record the maximum light value of a
certain time span, give the interval of maximum recordings in minutes (e.g.
5).
ask
logical
, if TRUE the interactive plot will start after the
calculation.
nsee
number of points to plot per screen.
allTwilights
logical
, if TRUE the function returns a list with
two tables