readEventsFromFile: Read Event Limits from File

View source: R/eventIO.R

readEventsFromFileR Documentation

Read Event Limits from File

Description

Read Event Limits from File

Usage

readEventsFromFile(file, timezone = "UTC", header = FALSE)

Arguments

file

full path to file containing the event definitions

timezone

timezone to which the timestamps are to be converted. Default: "UTC"

header

TRUE if the file contains a header line (first non-comment-line). Default: FALSE. If the file contains a header line, it must contain the column captions "tBeg" and "tEnd" (begin and end timestamps of the event).

Value

data frame with columns tBeg and tEnd (POSIXct)


KWB-R/kwb.event documentation built on June 14, 2022, 1:15 p.m.