calibrate: Find a light threshold using calibration position and date

Description Usage Arguments Value

View source: R/calibrate.R

Description

Find a light threshold using calibration position and date

Usage

1
calibrate(df, day, lon, lat, zenith = 96, offset = 0, verbose = T)

Arguments

df

data.frame containing 'Light' and 'Date' data at minimum

day

POSIXct date-time object in GMT or UTC specifying one day of calibration data

lon

known longitude of tag during calibration

lat

known latitude of tag during calibration

zenith

assumed solar zenith angle in degrees at twilight (depends on latitude and time of year, defaults to 96 degrees)

offset

time in hours to offset start of day time, defaults to 0

verbose

will plot light traces if TRUE

Value

threshold value for TwilightFree model


ABindoff/TwilightFree documentation built on March 10, 2021, 2:16 p.m.