This function can be used to specify default values
grapes-otherwise-grapes.Rd
When attributes are missing, the base::attr()
function returns
NULL. In those cases this function can be used to find an
alternative value in one expression:
attr(x,"dim") %otherwise% length(x)