A data frame is a special type of list where every element of the list has ______ length.
A. Same
B. Different
C. May be different
D. May be same
I had been asked this question by my college professor while I was bunking the class.
My doubt is from Data Types topic in division Nuts and Bolts and Getting Data In and Out of R Programming
The correct answer is A. Same
The best explanation: A data frame is a very important data type in R. It’s pretty much the de facto data structure for most tabular data and what we use for statistics. A data frame was a special type of list in which every element of the list has the same length.