How to subset a dataset with dplyr filter in RStudio - R for Data Science

preview_player
Показать описание
This video shows how to filter observations in a dataset that meet one or more conditions (e.g., all students that are younger than a certain age, all houses with sales prices within a given range, etc.) using the R language.

This kind of task can be completed in a very efficient and intuitive way using the dplyr package from the tidyverse. dplyr has a convenient function called filter() that can help you to create a subset of your data based on the given conditions.

This video is part of the series on R for Data Science.
Рекомендации по теме