lstgcols: Maps typical stage labels to colors (for plotting)

View source: R/luna.R

lstgcolsR Documentation

Maps typical stage labels to colors (for plotting)

Description

Convenience function to return colors for stage labels, to be used in plotting

Usage

lstgcols(s)

Arguments

s

a required parameter, a vector of stage label, that should be in the format NREM1, NREM2, NREM3, NREM4, REM and wake.

Value

a corresponding vector of colors

Examples

lstgcols(c("N1", "N2", "N3", "R", "W", "?", "L"))


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