breaks.AP:
Estimate the Number of Sit to Stand Transitions
Description
This function estimates the number of sit to stand transitions. This function works on a numeric vector where 0 indicates sitting, 1 indicates standing and 2 indicates stepping. The sum of the instances AP posture transitions from 0 to 1 or 0 to 2.
Usage
breaks.AP(posture)
Arguments
posture
a numeric vector (in any epoch) where 0 indicates sitting, 1 indicates standing and 2 indicates stepping.