check_baseline {PupilPre} | R Documentation |
Check baseline window for missing data
Description
check_baseline
examines the data in a specified baseline window.
Usage
check_baseline(data = data, BaselineWindow = NULL,
ReturnData = FALSE)
Arguments
data |
A data table object output by |
BaselineWindow |
A numeric vector of length 1 or 2 specifying the time points of the baseline window to be examined. Providing two values indicates the start time and the end time of the baseline, respectively. Providing a single value (i.e., time point) assumes that every preceding time point is part of the baseline (N.B. trials may vary in the size of the baseline window and will result in an error). |
ReturnData |
A logical indicating whether to return a data table containing information for each event. |
Value
Summary information
Examples
# Load example data
data("Pupilex3")
check_baseline(Pupilex3, BaselineWindow = c(-500, 0))
# Please see the vignettes for detailed example usage.
# vignette("PupilPre_Basic_Preprocessing", package="PupilPre")
[Package PupilPre version 0.6.2 Index]