powered by
Frame i of a 3-dimensional array arr3d is defined as arr3d[, , i].
i
arr3d
arr3d[, , i]
mean_frames(arr3d, na_rm = FALSE)sum_frames(arr3d, na_rm = FALSE)
sum_frames(arr3d, na_rm = FALSE)
A numeric vector.
A 3-dimensional numeric array.
Do you want NA values to be excluded from calculations?
NA
a <- array(seq_len(2^3), dim = rep(2, 3)) sum_frames(a) mean_frames(a)
Run the code above in your browser using DataLab