dplyr: gather and spread

Описание к видео dplyr: gather and spread

The gather function in dplyr lets you turn wide data into a long format, while the spread function lets to turn long data into a wide format. Data in R generally likes to be in a long format, so knowing how to gather messy data into a tall format if necessary is an important part of the data cleaning process.

Link to the Kaggle Notebook code used for this video series:
https://www.kaggle.com/hamelg/dplyr-in-r

View the whole dplyr in R playlist here:
   • dplyr: Getting Started  

dplyr cheat sheet from RStudio:
https://www.rstudio.com/wp-content/up...

dplyr documentation:
https://cran.r-project.org/web/packag...


Follow DataDaft on social media for news and updates:
Twitter:   / datadaft  

Join the DataDaft Discord to discuss all things data science:
  / discord  

#dplyr #rprogramming #datascience

Комментарии

Информация по комментариям в разработке