calculate mean of an array
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.