Set any names of x to ""

Description

Set any names of x to ""

Set row and column names to "" for pretty printing

Usage

1
2
3
4
remove_names(x)

## S3 method for class 'matrix'
remove_names(x)

Arguments

x

An object that has a 'names' property, typically a matrix, list or data.frame

matrix

Matrix to 'remove' colnames and rownames from

Value

Matrix where colnames and rownames consist of only ""

Methods (by class)

  • matrix: Remove names from a matrix

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.