What's the difference between a matrix, data frame, and tibble in R? (CC180)

January 20, 2022 • PD Schloss • 1 min read

Do you know when to use a matrix, data frame, or tibble in R? Do you know how to use each or even what the differences are between these three types of variables? In this episode of Code Club, Pat will show you how to convert the same data between the different types using base R functions. Finally, he’ll bring back the tidyverse to show why he prefers to work with data frames as tibbles. This is part of a series of videos demonstrating how to functions from base R to make these data compatible with tools from the tidyverse

Code

You can browse the state of the repository at the