c3d_read {c3dr}R Documentation

Read a c3d file in R

Description

Import a c3d file using the C++ ezc3d library.

Usage

c3d_read(file)

Arguments

file

A string with the path of a c3d file.

Details

This function reads a c3d file with biomechanical data. It returns a c3d object, which is a list of all imported data.

The resulting c3d object has the following entries:

Value

A list of class c3d.

Examples

# get example data path
path <- c3d_example()

d <- c3d_read(path)
str(d)

[Package c3dr version 0.1.5 Index]