GGIR
GGIR copied to clipboard
HASIB.algo="NotWorn" algorithm is not very intuitive
In https://github.com/wadpac/GGIR/blob/82b7c3363b063bc02c6e7b8b19d251315f7c75ad/R/HASIB.R#L225-L231 we have an algorithm that is used in the scenario of studies where the accelerometer is not worn during the night and the researcher still wants to get passed the sleep analyses in part 3 and 4. Such studies are less common nowadays.
-
[ ] I recently tidied up
HASPT.algo ="NotWorn"and I think the same tidy up is needed forHASIB.algo="NotWorn", for example it derives a threshold based on the distribution of x and then applies the threshold to a transformed version of x. -
[ ] It may be good to set both
HASPT.algoandHASIB.algoto"NotWorn"incheck_params.Rwhen one of them is set to"NotWorn".