file_en_acceleration: Compute en_acceleration() for given CSV files generated using...

View source: R/file_en_acceleration.R

file_en_accelerationR Documentation

Compute en_acceleration() for given CSV files generated using file_acceleration()

Description

Compute en_acceleration() for given CSV files generated using file_acceleration().

Usage

file_en_acceleration(file1, file2)

Arguments

file1

Name of first CSV file (*.csv) or path to file including filename. This file should contain the acceleration for the x-axis, computed using acceleration_x().

file2

Name of second CSV file (*.csv) or path to file including filename. This file should contain the acceleration for the y-axis, computed using acceleration_y().

start_from_zero

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

Examples

# Run en_acceleration() for files "~/myvideo/myvideo_body25_acceleration_x.csv"
# and "~/myvideo/myvideo_body25_acceleration_y.csv"
file_en_acceleration("~/myvideo/myvideo_body25_acceleration_x.csv",
"~/myvideo/myvideo_body25_acceleration_y.csv")

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