Compute the median of defined elementsn for each row and col in a 3D array

stack_median(v)

Arguments

v

3D array that may contain NA values

Value

a matrix with the median for each [row, col, ]