sttkyveloc {stabilo} | R Documentation |
Mean front-to-back velocity of Center-of-pressure displacement
Description
Computes the mean front-to-back velocity of a given Center-of-pressure displacement.
Usage
sttkyveloc(dados, fs)
Arguments
dados |
Data frame with two columns "x" and "y" |
fs |
The sampling frequency used in data recording |
Details
'dados' is a data frame containing two columns named "x" and "y". The pairs (x, y) are the coordinates of the center-of-pressure acquired in a period of time.
Value
The velocity of the front-to-back COP displacement sttkyveloc
.
Author(s)
Jose Magalhaes de Oliveira
See Also
Examples
x <- c(1,3,7,5,9,4,3,6,8,2,8,9,4,5,7,3,4,7,9,3,2,5,3,4,8,2,9,7,4,2)
y <- c(6,3,9,1,3,7,4,9,6,1,7,3,9,7,2,6,3,4,8,1,9,3,6,8,1,6,2,9,8,3)
COP <- data.frame(x, y)
fs <- 50
COPyvelocity <- sttkyveloc(COP,fs)
[Package stabilo version 0.1.1 Index]