EDA in Power BI
In this section, we will make extensive use of the ggplot2
package, an advanced R library designed for creating plots based on The Grammar of Graphics. It is not our intention to go into detail about every feature exposed by the package, even if it is used quite widely in the code that accompanies the chapter. Our goal is, as always, to provide code that is easy to customize for use in other projects, and above all, to provide a starting point for a more detailed look at the functions used. For more details, take a look at the references of this chapter.
In addition to the tools that Tidyverse provides in R (including ggplot2
), we will also use the summarytools
and DataExplorer
packages to create EDA reports in Power BI. It is therefore necessary to install them:
- Open RStudio and make sure it is referencing your latest CRAN R (version 4.0.2 in our case).
- Click on the Console window and enter this command:
install.packages('Rcpp')
. It's...