powered by
gets names of the columns or an empty string if the data is NULL.
colnames_empty(data)
a data.frame with the data.
# NOT RUN { colnames_empty(iris) colnames_empty(NULL) # }
Run the code above in your browser using DataLab