arrMean3 | R Documentation |
calculate mean of a 3D-array (e.g. containing landmarks) (fast) using the Armadillo C++ Backend
arrMean3(arr)
arr |
|
matrix of dimensions k x m
.
this is the same as apply(arr, 1:2, mean)
, only faster for large configurations.
data(boneData)
proc <- ProcGPA(boneLM, silent = TRUE)
mshape <- arrMean3(proc$rotated)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.