Learn R Programming

Morpho (version 2.12)

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)

Value

matrix of dimensions k x m.

Arguments

arr

k x m x n dimensional numeric array

Examples

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

Run the code above in your browser using DataLab