Learn R Programming

Anthropometry (version 1.2)

figures8landm: Figures of 8 landmarks with labelled landmarks

Description

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 paper Vinue et al. (2014), referred below.

Usage

figures8landm(figure,data)

Arguments

figure
A character vector, 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, Advances in Data Analysis and Classification, 1--30.

Examples

Run this code
figures8landm("cube",cube8landm)
figures8landm("paral",parallelep8landm)

Run the code above in your browser using DataLab