regressoR (version 1.1.8)

colnames_empty: colnames_empty

Description

gets names of the columns or an empty string if the data is NULL.

Usage

colnames_empty(data)

Arguments

data

a data.frame with the data.

Examples

Run this code
# NOT RUN {
colnames_empty(iris)
colnames_empty(NULL)

# }

Run the code above in your browser using DataCamp Workspace