sampleDataToSamplingEvents: Sample Data to Sampling Events

Description Usage Arguments Value

View source: R/sample.R

Description

Sample Data to Sampling Events

Usage

1
2
sampleDataToSamplingEvents(sampleData, method = "centre",
  default.interval.width.s = 600, signalWidth = 1)

Arguments

sampleData

sample data as returned by readAndJoinSamplerFiles

method

one of c("left", "right", "centre")

default.interval.width.s

default interval width in seconds

signalWidth

interval length in seconds that a sampling action is assumed to represent. It is only used to calculate the duration D of the time interval between two samplings at t1 and t2: D = t2 - t1 + signalWidth

Value

data frame with columns tBeg, tEnd, ...


KWB-R/kwb.monitoring documentation built on May 17, 2019, 1:06 p.m.