Dataframe can contain different type of data but matrix can contain only similar type of data. Here are the different types of data structures in R:
[blog_related_vid]