undim | R Documentation |
Removes the dimension of an object
undim(x, ...)
x |
An object with or without dimensions |
... |
Not used. |
This function does attr(x, "dim") <- NULL
, which automatically also does
attr(x, "dimnames") <- NULL
.
However, other attributes such as names attributes are preserved,
which is not the case if one do dim(x) <- NULL
.
The object with the dimension attribute removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.