Skip to content
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

Possible error in vignette - bouts #1

Open
aabydava opened this issue Jan 28, 2020 · 0 comments
Open

Possible error in vignette - bouts #1

aabydava opened this issue Jan 28, 2020 · 0 comments

Comments

@aabydava
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant