Q. Which function is used to create data frames?
β
Correct Answer: (C)
data.frame()
Explanation: The data frames can be created using the data.frame() function which accepts a number of vectors as content, and then the following parameters : row.names to specify the vector to use as row identifiers, check.rows to check consistency of row data, and check.names to check for duplicates among other syntactical checks.