en_velocity: Compute Euclidean norm of sums of velocity vectors (x,y)

View source: R/en_velocity.R

en_velocityR Documentation

Compute Euclidean norm of sums of velocity vectors (x,y)

Description

Compute Euclidean norm of sums of velocity vectors (x,y) for a tracked video using the x-axis and y-axis data generated using velocity_x() and velocity_y(). This is done using the following formula: sqrt(velocityx(t+1) - velocityx(t))^2 + (velocityy(t+1) - velocityy(t))^2)

Usage

en_velocity(vel_x, vel_y)

Arguments

vel_x

Data frame of x-axis velocity generated by velocity_x().

vel_y

Data frame of y-axis velocity generated by velocity_y().

start_from_zero

Determines if the output should be preceded with a row containing 0.

Examples

en_velocity(x, y)

trettenbrein/OpenPoseR documentation built on April 22, 2022, 4:03 a.m.