drop_dimnames | R Documentation |
A pipe-friendly wrapper for dim(x) <- NULL
and dimnames(x) <- NULL
or, if
which_dim
is not NULL
, dimnames(x)[which_dim] <- list(NULL)
drop_dimnames(x, which_dim = NULL, keep_axis_names = FALSE)
drop_dim(x)
drop_dim2(x)
x |
an object, potentially with dimnames |
which_dim |
If |
keep_axis_names |
TRUE or FALSE, whether to preserve the axis names when dropping the dimnames |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.