Compute a given quantile of defined elements for each row and col in a 3D array

stack_quantile(v, q)

Arguments

v

3D array that may contain NA values

q

a quantile to compute, q within [0,1]

Value

a matrix with the specified quantile for each [row, col, ]