BoAcharai › Lessons › RStudio

Step-by-step lesson · RStudio

How to filter and select data with dplyr in RStudio

4 steps

  1. Type library(dplyr)
  2. Type young <- filter(data, age < 30)
  3. Type small <- select(young, id, score)
  4. Type head(small) to check

More in RStudio

All RStudio lessons