Given an axis (X or Y), return the other
other_dim(dim = c("X", "Y"))
# NOT RUN { other_dim("X") other_dim("Y") # }
Run the code above in your browser using DataLab