Learn R Programming

dsBase (version 6.3.3)

colnamesDS: Returns the column names of a data frame or matrix

Description

This function is similar to R function colnames.

Usage

colnamesDS(x)

Value

the column names of the input object

Arguments

x

a string character, the name of a dataframe or matrix

Author

Demetris Avraam, for DataSHIELD Development Team

Details

The function returns the column names of the input dataframe or matrix