Skip to content

Possible error in vignette - bouts #1

Description

@aabydava

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions