Commit 24780a8d authored by Dan Baston's avatar Dan Baston

Add missing docstring

parent 8ff49a46
Pipeline #75440098 passed with stages
in 17 minutes and 32 seconds
......@@ -521,6 +521,8 @@ create_vars <- function(vars, dims, ids, prec, extra_dims) {
}
#' Flip the first two dimensions of a multidimensional array
#' @param arr an array whose dimensions should be flipped
#' @return the transformed array
flip_first_two_dims <- function(arr) {
ndim <- length(dim(arr))
if (ndim > 2) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment