Description Usage Arguments Details Value Author(s) See Also
This function identifies modes of physical activity using user-defined breakpoints for accelerometer counts.
1 2 3 4 5 6 7 8 | markpa(object, value, which = "counts", rescale.epoch = 60, labels = NULL,
extreme = NULL, keep.error = FALSE)
## S3 method for class 'acclist'
markpa(object, value, which = "counts", rescale.epoch = 60, labels = NULL,
extreme = NULL, keep.error = FALSE)
## S3 method for class 'accfile'
markpa(object, value, which = "counts", rescale.epoch = 60, labels = NULL,
extreme = NULL, keep.error = FALSE)
|
object |
an object of class |
value |
vector of breaks to define physical activity modes. The lowest breakpoint must be 0. |
which |
either 'counts' or 'steps' for |
rescale.epoch |
epoch expressed in the same unit as acceleromenter epoch to determine multiplier to rescale |
labels |
labels for physical activity modes. |
extreme |
if |
keep.error |
logical flag. If |
Breakpoints are specified as counts per seconds using value
. If the epoch used for value
is different from the accelerometer epoch, a rescaling is applied. E.g., if epoch is 15 seconds and breakpoints are expressed as counts per 60 seconds, value
is divided by 60/15 = 4. There can be n physical activity modes at maximum, where n is the length of value
.
The argument extreme
is NULL
by default. Use either ‘last’ to select the last category or the category number 1 to n.
If object
is of class acclist
, a list of factors of the same length as the number of accelerometer files in object
. If object
is of class accfile
, a single factor will be given. The number of levels is equal to length(value) + 1
.
Marco Geraci
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.