filter_timestamps_mtc_device: Filter MTCDevice object based on time range

Description Usage Arguments Examples

Description

Helper function to quickly filter based on time range

Usage

1
filter_timestamps_mtc_device(mtc_device, start_time, end_time)

Arguments

mtc_device

is the MTCDevice objectcc

start_time

is the Start time

end_time

is the End time

Examples

1
2
3
4
data("example_mtc_device_3")
start_time = as.POSIXct("2016-03-22 12:45:00.000")
end_time = as.POSIXct("2016-03-22 12:45:10.000")
filtered_data = filter_timestamps_mtc_device(example_mtc_device_3,start_time,end_time)

mtconnectR documentation built on May 1, 2019, 10:38 p.m.