Learn R Programming

VWPre (version 1.2.5)

check_time_series: Check the new time series

Description

check_time_series examines the first value in the Time column for each event. If they are equal, it will return a single value. The returned value(s) will vary depending on the interest period (if defined), message alignment (if completed), and the Adjustment parameter (`Adj`) supplied to create_time_series. Optionally, the result can be output to a dataframe containing all event-level information.

Usage

check_time_series(data, ReturnData = FALSE)

Value

The value(s) of Time (in milliseconds) at which events begin relative to the onset of the auditory stimulus.

Arguments

data

A data table object output by create_time_series.

ReturnData

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

Examples

Run this code
if (FALSE) {
library(VWPre)
# Check the starting Time column...
check_time_series(data = dat)
}

Run the code above in your browser using DataLab