Skip to content

Commit d0a1528

Browse files
committed
comment to clarify inbed function is consistent with GGIR
1 parent 0389a28 commit d0a1528

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/inbed.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#' @author Matthew N. Ahmadi <[email protected]>
2222
inbed = function(angle, k = 60, perc = 0.1, inbedthreshold = 15,
2323
bedblocksize = 30, outofbedsize = 60, ws3 = 5) {
24+
# Code in line with HASPT algorithm in GGIR.
2425
medabsdi = function(angle) {
2526
angvar = stats::median(abs(diff(angle)))
2627
return(angvar)

0 commit comments

Comments
 (0)