Learn R Programming

Morpho (version 2.6)

arrMean3: calculate mean of an array

Description

calculate mean of a 3D-array (e.g. containing landmarks) (fast) using the Armadillo C++ Backend

Usage

arrMean3(arr)

Arguments

arr

k x m x n dimensional numeric array

Value

matrix of dimensions k x m.

Examples

Run this code
# NOT RUN {
data(boneData)
proc <- ProcGPA(boneLM, silent = TRUE)
mshape <- arrMean3(proc$rotated)
# }

Run the code above in your browser using DataLab