impulse: Calculate impulse from ground reaction force data

View source: R/BiomechanicsFunctions.R

impulseR Documentation

Calculate impulse from ground reaction force data

Description

Estimates impulse from data of force over time by calculating the area under the curve.

Usage

impulse(time, GRF)

Arguments

time

a vector of numerical data on the time sequence

GRF

an array of columns for the force data (assumed that force data are already synchronized to the time data)

Details

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.

Examples

time <- seq(1:10)
set.seed(123)
GRF <- data.frame(x = rnorm(10), y = rnorm(10), z = rnorm(10))

impulse(time, GRF)



MorphoFun/kraken documentation built on July 2, 2022, 1:13 p.m.