R/dim.R

dim_desc.Rd

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

dim_desc(1:10) #> [1] "10" dim_desc(Titanic) #> [1] "4 × 2 × 2 × 2"