Learn R Programming

gpuR (version 2.0.6)

colnames: Row and Column Names

Description

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

Value

A character vector of column names of the gpuMatrix object.

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