Calculation of Relative Amplitude Using L5Value and M10Value

25 views
Skip to first unread message

Mayank Ramchandani

unread,
Apr 2, 2025, 12:54:33 PMApr 2
to R package GGIR
Hi, 

I was calculating the relative amplitude using L5Value and M10Value from GGIR. From my understanding, both these values are based off on acceleration values from consecutive least and most active 5 and 10 hours respectively. What happens if there aren't enough consecutive hours for that particular day, and if the data does not cover a range of 24 hours (the original definition of RA spans 24 hours I believe) ? Is it reported as a NaN then?

Further, I saw in one of the previous documents that GGIR used to have RA_ggir also be calculated using the same standard calculation in part 6 - https://cran.r-project.org/web/packages/postGGIR/vignettes/postGGIR.html. I suppose that has been removed now?

Thank you for all your hard work!

Mayank

Vincent van Hees

unread,
Apr 9, 2025, 10:30:15 AMApr 9
to Mayank Ramchandani, R package GGIR
Hi Mayank,

GGIR does not calculate RA. I assumed that GGIR users would be able to calculate it themselves from the GGIR output. Maybe in the future RA can be added.

GGIR allows you to ignore days with insufficient valid data, which I think addresses your concern.

Please note that postGGIR has been developed by Wei Guo and colleagues, and later renamed to mMARCH.AC: https://cran.r-project.org/web/packages/mMARCH.AC/index.html
If you have questions about their package I encourage you to reach out to them.

Best, Vincent
--
You received this message because you are subscribed to the Google Groups "R package GGIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to RpackageGGIR...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/RpackageGGIR/da15e273-c1ad-4e25-9006-e623dcc7907bn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages