check_msg_time: Check the time value(s) at a specific message

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

check_msg_time examines the time point of a specific Sample Message for each event. Depending on the format of the data, it will use one of three columns: TIMESTAMP, Align, or Time.

Usage

1
check_msg_time(data, Msg = NULL, ReturnData = FALSE)

Arguments

data

A data table object output by relabel_na, align_msg, or create_time_series.

Msg

A character string containing the exact message to be found in the column SAMPLE_MESSAGE.

ReturnData

A logical indicating whether to return a data table containing Message Time information for each event.

Value

The value(s) of Time (in milliseconds) at which the Sample Message is found.

Examples

1
2
3
4
5
6
## Not run: 
library(VWPre)
# Check the Sample Message time...
check_msg_time(data = dat)

## End(Not run)

VWPre documentation built on June 20, 2017, 9:12 a.m.