-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to ignore (filter) short lasting nonwear during nighttime #1230
base: master
Are you sure you want to change the base?
Conversation
- log when nonwear is filtered - handle missing diary entry by using midnight-6am as fallback setting - corrections to selection logic
…h the word impute
I now realise that a limitation of this PR is that it will also run the qwindow functionality even if the user is not interested in this. If the diary name includes the word "filteronly" then qwindow it is reset to its default
|
Fixes #1218 by adding functionality to GGIR part 2 to ignore short nonwear during the night. I did it there, such that all GGIR parts will benefit from it. I hope that the documentation updates made in this PR explain sufficiently what it does and how to use the functionality.
Updates include:
g.weardec
insideg.impute
.Checklist before merging:
inst/NEWS.Rd
with a user-readable summary. Please, include references to relevant issues or PR discussions.DESCRIPTION
file, if you think you made a significant contribution.If NEW GGIR parameter(s) were added then these NEW parameter(s) are:
man/GGIR.Rd
R/load_params.R
R/check_params.R
vignettes/GGIRParameters.Rmd
with references to the GGIR parts the parameter is used in.If GGIR parameter(s) were deprecated these parameter(s) are:
man/GGIR.Rd
R/load_params.R
R/check_params.R
vignettes/GGIRParameters.Rmd
R/extract_params.R
with deprecated parameters such that these do not produce warnings when found in old config.csv files.