Explain the difference between data.frame and matrix in R.

Instruction: Discuss the structural and functional differences between a data.frame and a matrix in R.

Context: This question assesses the candidate's understanding of core data structures in R and their appropriate use cases.

Upgrade to view answer

Related Questions