Q49
Which function is used to create data frames?
A.
data.frames()
B.
frame.data()
C.
data.frame()
AnswerD.
frame(data)
Answer: Option C
Solution
Answer: Option C
Solution:
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.