The names() function within R:
Select one:
- a. Lists all of the column names in the data frame provided as an argument to the function.
- b. Attaches the names to make the variables in the data frame available by name.
- c. Displays the names of the classes identified by the K means clustering algorithm.
- d. None of these answers
The correct answer is: Lists all of the column names in the data frame provided as an argument to the function.