colnames

0th

Percentile

Row and Column Names

Retrieve or set the row or column names of a gpuR matrix object

Usage
colnames(x, do.NULL, prefix)

# S3 method for default colnames(x, do.NULL = TRUE, prefix = "col")

# S3 method for gpuMatrix colnames(x, ...)

# S4 method for gpuMatrix colnames(x) <- value

# S3 method for vclMatrix colnames(x, ...)

# S4 method for vclMatrix colnames(x) <- value

Arguments
x

A gpuR matrix object

do.NULL

logical. If FALSE names are NULL, names are created. (not currently used)

prefix

for create names. (not currently used)

...

Additional arguments

value

A character vector to assign as row/column names

Aliases
  • colnames
  • colnames.default
  • colnames.gpuMatrix
  • colnames<-,gpuMatrix-method
  • colnames.vclMatrix
  • colnames<-,vclMatrix-method
Documentation reproduced from package gpuR, version 2.0.3, License: GPL (>= 2)

Community examples

harshadbarapatre@hotmail.com at Aug 24, 2020 gpuR v2.0.3

### If column names are saved in a vector named "column_names" and if the column names of "dataset" are to be renamed: `colnames(dataset) <- column_names`