Compute the mean defined element for each row and col in a 3D array

stack_mean(v)

Arguments

v

3D array that may contain NA values

Value

a matrix with the mean value for each [row, col, ]