cutData: Cut a portion of the data.

Description Usage Arguments Details Value Examples

Description

cutData allows to select part of the data based on the defined time range.

Usage

1
cutData(data, startTime = NA, endTime = NA)

Arguments

data

data formatted as data.frame with 4 columns: green, orange, blue, time) as imported from the .txt file saved by the in-house LabVIEW progam

startTime

initial time point of the new data structure

endTime

final time point of the new data structure

Details

This function allows to create a new data structure including only data in a user defined time interval (e.g. to remove test measuremets or to select one specific cycle).

Value

A data frame with the same structure of the input data but limited to the selected time range.

Examples

1
2
data(BxPC3_data, package="BraDiPluS")
MyDataNew <- cutData(data = MyData, startTime=6000, endTime=6500)

saezlab/BraDiPluS documentation built on May 29, 2019, 12:56 p.m.