drop_dimnames {listarrays} | R Documentation |
Drop dimnames
Description
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)
Usage
drop_dimnames(x, which_dim = NULL, keep_axis_names = FALSE)
drop_dim(x)
drop_dim2(x)
Arguments
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 |
[Package listarrays version 0.4.0 Index]