View source: R/BiomechanicsFunctions.R
impulse | R Documentation |
Estimates impulse from data of force over time by calculating the area under the curve.
impulse(time, GRF)
|
a vector of numerical data on the time sequence |
|
an array of columns for the force data (assumed that force data are already synchronized to the time data) |
Impulse is a measure of the force applied over a specific time period. The time and force data should already be ordered so that the first row is the beginning of the trial and the last row is the end of the trial.
time <- seq(1:10) set.seed(123) GRF <- data.frame(x = rnorm(10), y = rnorm(10), z = rnorm(10)) impulse(time, GRF)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.