View source: R/jump_functions.R
add_jump_length_and_height | R Documentation |
Adds the columns jump_length
and jump_height
to a tibble containg mocap data of a jump.
add_jump_length_and_height(.data, method = "movement_plane")
.data |
A tibble containing motion-capture data from a jump.
|
method |
The method that should be used to calculate jump length. |
The tibble suplied in .data
argument with the added columns jump_length
and jump_height
both measures are in cm.
# Prepare data
df <- dplyr::filter(mocapr::mocapr_data, movement_nr == 1)
df <- add_phases_jump(df)
df <- mocapr::project_full_body_to_MP(df)
add_jump_length_and_height(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.