Learn R Programming

eyeris (version 2.1.1)

draw_random_epochs: Draw random epochs for plotting

Description

Generates random time segments from the timeseries data for preview plotting.

Usage

draw_random_epochs(x, n, d, hz)

Value

A list of dataframes, each containing a random epoch segment

Arguments

x

A dataframe containing timeseries data

n

Number of random epochs to draw

d

Duration of each epoch in seconds

hz

Sampling rate in Hz