View source: R/g.part5.addfirstwake.R
g.part5.addfirstwake | R Documentation |
Not intended for direct use by GGIR users. Adds first wake if it is missing in part 4 output as part of g.part5.
g.part5.addfirstwake(ts, summarysleep, nightsi, sleeplog,
ID, Nepochsinhour, SPTE_end)
ts |
Data.frame object as passed on from g.part5 |
summarysleep |
Data.frame object as passed on from g.part5 with sleep summary information from g.part4. |
nightsi |
Vector with indices for the nights |
sleeplog |
Data.frame with all sleeplog information |
ID |
Participant ID |
Nepochsinhour |
Number of epochs in an hour |
SPTE_end |
Sleep period time end index |
Data.frame ts updated with first wakeup time
Vincent T van Hees <v.vanhees@accelting.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.