1.

What Is The Difference Between Data Frame And A Matrix In R?

Answer»

Data frame can CONTAIN heterogeneous inputs while a matrix cannot. In matrix only similar data types can be stored WHEREAS in a data frame there can be different data types LIKE characters, integers or other data frames.

Data frame can contain heterogeneous inputs while a matrix cannot. In matrix only similar data types can be stored whereas in a data frame there can be different data types like characters, integers or other data frames.



Discussion

No Comment Found