Description Usage Arguments Value Examples
This function allows you to represent the joints as a function of time. The main argument is the dimension you want to represent on the y-axis. You can use this function to compare several practitioners at the same time, in that case, make sure to specify a proper vector of colours.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
joint |
The joint dataset: the coordinates of the joints as a function of time |
num.joint |
The index of the column associated with the joint variable |
num.frame |
The index of the column associated with the frame variable |
num.y |
The index of the column associated with the y-axis variable represented on the graphical output |
num.name |
The index of the column associated with the name variable |
y.legend |
The legend on the y-axis |
fig.color |
A vector of colours, one colour per figure |
vect.joint |
A vector of joints |
size |
The size of the points in the geom_point function |
shape |
The shape of the points in the geom_point function |
span |
The amount of smoothing in the geom_smooth function |
A representation of the joints
1 2 3 4 5 6 7 8 | data(all_apchagi)
joint(joint=all_apchagi, num.joint=2, num.frame=6, num.y=4, num.name=8, y.legend="y",
fig.color=c("#3333FF", "#FF0099", "#00FFCC"),
vect.joint = c("RIGHT_KNEE", "RIGHT_ANKLE", "RIGHT_FOOT_INDEX"))
data(gaetan_apchagi)
joint(joint=gaetan_apchagi, num.joint=2, num.frame=6, num.y=4, num.name=8, y.legend="y",
fig.color="#FF0099")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.