Популярное

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

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

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

Топ запросов

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

Using dplyr's filter function to pick rows from a data frame in R (CC161)

filter function

filter dplyr

filter R

tidyverse filter

filter function r

tidyverse drop_na

dplyr drop_na

dplyr in R

dplyr R

rstudio dplyr

tidyverse dplyr

Автор: Riffomonas Project

Загружено: 8 нояб. 2021 г.

Просмотров: 9 617 просмотров

Описание:

R's filter function allows you to create queries to pick rows from a data frame that match your query. It's a tremendously powerful function that we get from the dplyr R package. In this episode we'll see how we can use it to search through a data frame with more than 100000 rows! You can make simple and more sophisticated queries by following a few simple concepts. We'll also see how you can remove NA values using these concepts and using the special drop_na function. I'll demonstrate how to use filter with a massive data frame that we downloaded from Our World in Data that describes COVID-19 vaccination rates by country and day.

In this episode, Pat uses #filter and #drop_na from the #dplyr #R package in #Rstudio. The accompanying blog post can be found at https://www.riffomonas.org/code_club/....

Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights.

If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/


You can also find complete tutorials for learning R with the tidyverse using...
Microbial ecology data: https://www.riffomonas.org/minimalR/
General data: https://www.riffomonas.org/generalR/

0:00 Filtering rows from a data frame
1:48 Filtering rows that satisfy a set of criteria
5:19 Combining filter statments with AND & OR
12:17 Filtering rows based on a logical column
15:09 Filtering out rows with NA values
16:47 Cleaning up script

Using dplyr's filter function to pick rows from a data frame in R (CC161)

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

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

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

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

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

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

Using dplyr's slice and arrange functions in R to order and pick rows from a data frame (CC162)

Using dplyr's slice and arrange functions in R to order and pick rows from a data frame (CC162)

How to subset rows in R with filter()

How to subset rows in R with filter()

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

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

Creating a labeled scatter plot in R with ggplot2 (CC157)

Creating a labeled scatter plot in R with ggplot2 (CC157)

Using adonis and betadisper from the vegan R package to compare groups (CC208)

Using adonis and betadisper from the vegan R package to compare groups (CC208)

Lubridate - how to manipulate date and time data in R

Lubridate - how to manipulate date and time data in R

Using the select function and its helper functions in R to pick columns from a data frame (CC160)

Using the select function and its helper functions in R to pick columns from a data frame (CC160)

UML class diagrams

UML class diagrams

MySQL - The Basics // Learn SQL in 23 Easy Steps

MySQL - The Basics // Learn SQL in 23 Easy Steps

Самая простая нерешённая задача — гипотеза Коллатца [Veritasium]

Самая простая нерешённая задача — гипотеза Коллатца [Veritasium]

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



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



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