lepoch: Epochs the data

View source: R/luna.R

lepochR Documentation

Epochs the data

Description

Sets epochs for the current EDF

Usage

lepoch(dur = 30, inc = -1)

Arguments

dur

the epoch duration in seconds

inc

the epoch increment, defaults to dur (i.e. non-overlapping epochs)

Value

the number of epochs set

Note

lepoch(30) is identical to using the leval() function to evaluate/execute an EPOCH command:

leval("EPOCH dur=30")

Examples

## Not run: 
> ne <- lepoch()
evaluating...
nsrr02 : 14 signals, 10 annotations, of 09:57:30 duration, 1195 unmasked 30-sec epochs, and 0 masked
> ne
[1] 1195

## End(Not run)

remnrem/luna documentation built on June 1, 2025, 2:14 p.m.