This function allows us to represent the two geometric figures (a cube and a parallelepiped) of 8 landmarks, with the landmark labels. Both appear in the submitted paper Vinue et al. (2013), referred below.
Usage
figures8landm(figure,data)
Arguments
figure
A character, two values are admitted: if figure="cube", the cube is represented. If figure="paral", the parallelepiped is represented.
data
The data with the landmarks of the corresponding figure.
Value
A plot of the cube or the parallelepiped with the landmark labels.
References
Vinue, G., Simo, A., and Alemany, S., (2014). The k-means algorithm for 3D shapes with an application to apparel design. Accepted for publication in Advances in Data Analysis and Classification.