g.create.sp.mat: Converts sleep period information. Not intended for direct...

Description Usage Arguments Value Author(s)

View source: R/g.create.sp.mat.R

Description

Function to convert data into sleep period matrix part of g.part4.R. Not intended for direct use by package user

Usage

1
g.create.sp.mat(nsp,spo,sleepdet.t,daysleep=FALSE)

Arguments

nsp

Integer indicating the number of sleep periods

spo

Empty matrix with overview of sleep periods, 5 columns and as along as nps

sleepdet.t

Part of detected sleep from g.sib.det for one night and one sleep definition

daysleep

Boolean to indicator whether this person woke up after noon (daysleeper)

Value

Author(s)

Vincent T van Hees <vincentvanhees@gmail.com>


PeteJWatson/ggircal documentation built on Nov. 24, 2021, 11:14 a.m.