safe_dim | R Documentation |
safe_dim
tries to get dimensions from dim
and falls back on
length
if dim
returns NULL
safe_dim(x)
x |
the object to get dimensions from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.