twGeos2TAGS: Function to write down twilights annotated in twGeos package...

Description Usage Arguments Details Value Author(s) See Also

View source: R/Ports2TAGS.R

Description

this function converts combines twilights detected in twGeos with raw data and writes them down in TAGS format that can be easily read by get.tags.data

Usage

1
twGeos2TAGS(raw, twl, threshold, filename = NULL)

Arguments

raw

original data - dataframe with two columns first column must contain time and second measured light levels

twl

twilights object from preprocess.light function

threshold

threshold value used for twilight definition in preprocess.light

filename

if NULL data.frame in TAGS format will be returned otherwise .csv file in TAGS format will be written

Details

TAGS format returned or written as .csv by this function is a dataframe with columns

The fields excluded and interp may have values of TRUE only for twilight > 0.

Value

NULL if filename is provided or TAGS formatted dataframe.

Author(s)

Eldar Rakhimberdiev & Simeon Lisovski

See Also

BAStag2TAGS and GeoLight2TAGS


FLightR documentation built on July 6, 2021, 5:08 p.m.