setColnames: Return the object with colnames set

View source: R/setColnames.R

setColnamesR Documentation

Return the object with colnames set

Description

Return the object with colnames set

Usage

setColnames(x, colnames = NULL)

setRownames(x, rownames = NULL)

Details

Return the object with colnames set. This is equivalent to setNames, but for objects that have columns like data frames and matrices.

Value

the same object with colnames set to colnames


january3/myfuncs documentation built on Jan. 16, 2025, 8:37 p.m.