πŸ“Š R Programming
Q. How is a data frame created in R?
  • (A) df <- c(1, 2, 3)
  • (B) data.frame(x = 1:3, y = c('A', 'B', 'C'))
  • (C) createDataFrame(1, 2, 3)
  • (D) matrix(1:3, nrow = 1, ncol = 3)
πŸ’¬ Discuss
βœ… Correct Answer: (B) data.frame(x = 1:3, y = c('A', 'B', 'C'))

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
90%
Success Rate