Description Usage Arguments Value Examples
stages_stats
computes stages related stats.
1 | stages_stats(e)
|
e |
Events dataframe. Dataframe must have |
stages vector
1 2 3 4 | e <- data.frame(begin = as.POSIXlt(seq(from = 0, to = 30*10, by = 30),origin = "1970-01-01"))
e$end <- as.POSIXlt(seq(from = 30, to = 30*11, by = 30), origin = "1970-01-01")
e$event = c("AWA","N1","N2","N3","N3","REM","N2","REM","N2","REM","AWA")
stages_stats(e)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.