array3Dlandm | R Documentation |
This is a helper function for obtaining the array with the 3D landmarks of the sample objects
array3Dlandm(numLandm,numIndiv,matLandm)
numLandm |
Number of landmarks that represent the 3D body of the individuals. |
numIndiv |
Number of individuals to analyze. |
matLandm |
Matrix with the |
Array with the 3D landmarks of the sample objects.
Guillermo Vinue
Vinue, G., Simo, A., and Alemany, S., (2016). The k-means algorithm for 3D shapes with an application to apparel design, Advances in Data Analysis and Classification 10(1), 103–132.
LloydShapes
, HartiganShapes
, trimmedLloydShapes
landmarksNoNa <- na.exclude(landmarksSampleSpaSurv) numLandmarks <- (dim(landmarksNoNa)[2]) / 3 landmarksNoNa_First50 <- landmarksNoNa[1:50, ] numIndiv <- dim(landmarksNoNa_First50)[1] array3D <- array3Dlandm(numLandmarks, numIndiv, landmarksNoNa_First50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.