Hi Milos, once again great tutorial! I noticed that you always create list of libs and check whether the libraries are installed or not. You can use pacman library and p_load function to load/install missing libs: if (!require("pacman")) install.packages("pacman") pacman::p_load(package1, package2, package_n) edit: at 18:30 you can use also dplyr::coalesce() function to fill NAs with value from specified column
Buenos dias Milos, como siempre excelentes videos. Saludos Cordiales desde Chile
Hi Milos, once again great tutorial! I noticed that you always create list of libs and check whether the libraries are installed or not.
You can use pacman library and p_load function to load/install missing libs:
if (!require("pacman")) install.packages("pacman")
pacman::p_load(package1, package2, package_n)
edit: at 18:30 you can use also dplyr::coalesce() function to fill NAs with value from specified column
Great advice, thank you so much! 💯 I see pacman as a great alternative to my very long and verbose code at the outset
Good going Milos!