Description Usage Arguments Value Examples
This function allows you to represent the structure/skeleton as a function of time. The main arguments are the two data sets joint and structure. You can highlight a particular part of the body.
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 |
structure |
The structure dataset: a first column with the segments composing the structure, two other columns defining the extremities of the segments |
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.x |
The index of the column associated with the x-axis variable represented on the graphical output |
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 |
frame.index |
The index of the frame you want to represent (static representation) |
body.part |
The names of the segments you want to represent |
color.part |
The colour you want to use to represent the segments |
fps |
The number of frames per second |
An animation by default or a static representation for a given frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
data(gaetan_apchagi)
data(human)
skeleton(joint=gaetan_apchagi, structure= human, num.joint=2,
num.frame=6, num.x=3, num.y=4, num.name=8)
skeleton(joint=gaetan_apchagi, structure= human, num.joint=2,
num.frame=6, num.x=3, num.y=4, num.name=8, body.part = "tibia_r",color.part = "orange")
## End(Not run)
data(gaetan_apchagi)
data(human)
skeleton(joint=gaetan_apchagi, structure= human, num.joint=2,
num.frame=6, num.x=3, num.y=4, num.name=8, body.part = "tibia_r",
frame.index=25, color.part = "orange")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.