A

Admin • 833.24K Points
Coach

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)
  • Correct Answer - Option(B)
  • Views: 23
  • Filed under category R Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.