lstages: Return vector of sleep stages from annotations

View source: R/luna.R

lstagesR Documentation

Return vector of sleep stages from annotations

Description

Returns a vector of sleep stages based on annotation data

Usage

lstages()

Value

a vector of sleep stage labels, i.e. based on attached annotations. For NSRR and other data, Luna expects a standard format for stage names, although this can be modified. See here for more information.

Note

This command is identical to running:

leval("STAGE")$STAGE$E$STAGE

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