Giter Site home page Giter Site logo

vandomed / accelerometry Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 301 KB

Functions for Processing Accelerometer Data

License: GNU General Public License v3.0

R 100.00%
accelerometer exercise moving-average physical-activity sedentary-life wearable-devices

accelerometry's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

accelerometry's Issues

counting number of bouts

Hello mister Van Domelen

My name is Gabriela Cárdenas and I am working with accelerometer data from an european project.
I am using your package accelerometry (congratulations on this great work¡).
I used your package to create a variable indicating if the 1 minute epoch is part of a bout of at least 10 minutes.
I calculated the accumulated minutes spent in bouts of at least 10 minutes.
Now I want to calculate the number of bouts per day of at least 10 minutes, but I can not find the way or package to do so. Do you think I can use your package for this? Do you know how?

Thank you very much

--
Gabriela Cárdenas Fuentes

Postdoctoral researcher

Possible error in vignette - bouts

In the vignette code example for bouts,

mvpa <- bouts(counts = counts.21007,
bout_length = 10,
thresh_lower = 2020,
tol = 2,
tol_lower = 100)
sum(mvpa)
#> [1] 10075
With this more forgiving algorithm, the subject is considered to have 21 rather than 0 minutes of bouted MVPA over the course of the week.

the function seems to classify nearly all data as MVPA bout, although it seems that it should be 21 minutes given the following sentence. Is this an error in the bouts function?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.