addTimestamp: Function that adds a timestamp to a data frame

Description Usage Arguments

Description

Takes a data frame (that has the starting value of measurements as an attribute) and sampling frequency as input. Outputs the data frame with additional column containing timestamps of measurement.

Usage

1
2
addTimestamp(dataframe, frequency, start = attr(dataframe, which =
  "measurementStart"))

Arguments

dataframe

The name of the dataframe.

frequency

The frequency of measurement in Hz.

start

The initial timestamp.


crtahlin/readCortrium documentation built on May 14, 2019, 12:05 p.m.