View source: R/MakeSleepDataMatrix.R
makeSleepDataMatrix | R Documentation |
Make a sleep matrix (sleep=1 and wake=0) based on the sleep onset and wake up time for the purpose of calculating physical acitivy features during wake up time.
makeSleepDataMatrix(sleepFN, epochOut = 60, impute = TRUE, outputFN)
sleepFN |
|
epochOut |
|
impute |
|
outputFN |
|
Sleep matrix and messages of sleep data.
duplicatedays |
Duplicate days of sleep data if exists |
sleepproblem |
Invalid sleep data if exists |
sleep matrix (0/1) |
write the sleep matrix to a csv file specified by outputFN |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.