How can we create a table using R language without using external files?
Answer Posted / Amit Kuamr Jaiman
Creating a table (data frame) in R can be done using the built-in functions like c() for creating vectors, and data.frame() or list() to combine them into a data frame. For example: data.frame(A = c(1,2,3), B = c('a','b','c')) creates a 2-column table with columns A and B.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers