Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Tidyverse in R - tips & tricks

Автор: Tom Henry - data science with R

Загружено: 2020-07-20

Просмотров: 29242

Описание:

🔔 Subscribe for weekly R videos:    / @tomhenry-datasciencewithr6047  

Here are 18 ways to speed up data cleaning, tidying, and exploration with the tidyverse packages in R. They'll help you to work with data more efficiently, simplify your R code, and surprise your friends!!

🎉 Enjoyed this video? Leave a comment below to share what you liked the most!

0:00 Intro
1:04 Create new columns in a count or group_by
2:11 Sample and randomly shuffle data with slice_sample()
3:05 Create a date column specifying year, month, and day
3:25 Parse numbers with parse_number()
4:07 Select columns with starts_with, ends_with, etc.
4:56 case_when to create or change a column when conditions are met
6:36 str_replace_all to find and replace multiple options at once
7:15 Transmute to create or change columns and keep only those columns
7:48 Use pipes everywhere including inside mutates
9:11 Filter groups without making a new column
10:04 Split a string into columns based on a regular expression
11:10 semi_join to pick only rows from the first table which are matched in the second table
12:20 anti_join to pick only rows from the first table which are NOT matched in the second table
12:48 fct_reorder to sort bar charts
14:06 coord_flip to display counts more beautifully
14:32 fct_lump to lump some factor levels into "Other"
15:26 Generate all combinations using crossing
16:00 Create functions that take column names with double curly braces
18:00 The end

Code:

https://gist.github.com/larsentom/727...

#rstats #rstudio #datascience #tidyverse

Tidyverse in R - tips & tricks

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Discover 7 Hidden Gems in the R Package Ecosystem

Discover 7 Hidden Gems in the R Package Ecosystem

Преобразуйте свои данные как профессионал с помощью {tidyr} и попрощайтесь с беспорядочными данными!

Преобразуйте свои данные как профессионал с помощью {tidyr} и попрощайтесь с беспорядочными данными!

Дэвид Робинсон — Десять потрясающих трюков в мире Tidyverse

Дэвид Робинсон — Десять потрясающих трюков в мире Tidyverse

R and the Tidyverse: next steps

R and the Tidyverse: next steps

Plotting in R - the basics

Plotting in R - the basics

Describe and Summarise your data

Describe and Summarise your data

Write R Code Faster With These RStudio Shortcuts and Settings | Step-By-Step Tutorial

Write R Code Faster With These RStudio Shortcuts and Settings | Step-By-Step Tutorial

УЧЕБНОЕ ПОСОБИЕ ПО R Markdown | Мощный инструмент для ИЗУЧЕНИЯ R (ЗА ​​45 МИНУТ)

УЧЕБНОЕ ПОСОБИЕ ПО R Markdown | Мощный инструмент для ИЗУЧЕНИЯ R (ЗА ​​45 МИНУТ)

Teaching the tidyverse in 2023 | Mine Çetinkaya-Rundel

Teaching the tidyverse in 2023 | Mine Çetinkaya-Rundel

Emily Robinson - The Lesser Known Stars of the Tidyverse

Emily Robinson - The Lesser Known Stars of the Tidyverse

Hands-on dplyr tutorial for faster data manipulation in R

Hands-on dplyr tutorial for faster data manipulation in R

Modeling hotel bookings in R using tidymodels and recipes

Modeling hotel bookings in R using tidymodels and recipes

Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more

Dplyr Essentials (easy data manipulation in R): select, mutate, filter, group_by, summarise, & more

Обработка данных с помощью R за 27 минут

Обработка данных с помощью R за 27 минут

How to write a simple regular expression in R using sub and str_replace (CC183)

How to write a simple regular expression in R using sub and str_replace (CC183)

How to Plot Counts in R: A Step-by-Step Guide

How to Plot Counts in R: A Step-by-Step Guide

R visualisation with ggplot2 – intermediate

R visualisation with ggplot2 – intermediate

Using dplyr's group_by function with and without summarize (CC233)

Using dplyr's group_by function with and without summarize (CC233)

Intro to the Tidyverse

Intro to the Tidyverse

Tom Mock | A Gentle Introduction to Tidy Statistics in R | RStudio (2019)

Tom Mock | A Gentle Introduction to Tidy Statistics in R | RStudio (2019)

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]