Multi-dimensional objects are formatted as a x b x ..., for vectors the length is returned.
a x b x ...
dim_desc(x)
The object to format the dimensions for
# NOT RUN { dim_desc(1:10) dim_desc(Titanic) # }
Run the code above in your browser using DataCamp Workspace