-
Notifications
You must be signed in to change notification settings - Fork 60
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
Enhance NotWorn algorithm to work with both count and raw data #1137
Conversation
…re for ActiGraph csv)
…le varying degrees of nonwear time
… 1) of overlap with guider
@jhmigueles just a heads up that I will ask a group I am helping to check that this works as expected in their data. But I thought you may like to be aware that I have prepared this update as it should hopefully make it easier to use GGIR in studies where the accelerometer was intentionally not worn during the night. Update: That group has now indicated to me that these updates work well for them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works as expected. As we discussed, for the future it would be good handling those nights in which participants ignore the protocol and wear the devices even if they were instructed not to.
Fix is.na(defaultGuiderOnset) == TRUE) error
…ary guider, fixes #1156
I have looked at this and have now added the option to specify I ran this on test data and it seems to be working well. Given that this will not affect normal use of GGIR because it only is activated when |
NotWorn algorithms
Fixes #1089 by:
and fixes #1160
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.