Learn R Programming

eyeris (version 2.1.1)

slice_epochs_with_limits: Slice epochs with explicit limits

Description

Creates epochs using explicit time limits around a central timestamp.

Usage

slice_epochs_with_limits(x_raw, cur_ts, lims, hz)

Value

A dataframe containing the epoch data

Arguments

x_raw

The raw timeseries dataframe

cur_ts

The central timestamp

lims

Time limits in seconds (negative for before, positive for after)

hz

Sampling rate in Hz