Create a subset data using R; subset() in R; filter function from dplyr

Поділитися
Вставка
  • Опубліковано 4 гру 2024

КОМЕНТАРІ • 12

  • @tarekhakim5886
    @tarekhakim5886 2 роки тому +2

    Thanks Yan, that was very helpful

  • @PedroJUChuva
    @PedroJUChuva 3 роки тому +1

    Great Video Yan

  • @FrizleFry00
    @FrizleFry00 2 роки тому

    Amazing video!! Thanks!!

  • @osamakhan9296
    @osamakhan9296 3 роки тому +1

    Good work!

  • @billostrove2016
    @billostrove2016 3 роки тому

    Very helpful video! Are there times when subset is more useful than filter? Or other times when filter is better than subset? What are the benefits of each?

    • @datasciencewithyan4124
      @datasciencewithyan4124  3 роки тому +1

      A very nice question. subset is a quick function for a quick subsetting, without loading any R package. I find filter function to be more flexible when dealing with more conditions, requiring the dplyr package. Another advance of filter is that you can manipulate your data in pipelines along with create new variables for the data and selecting variables from the data.

    • @billostrove2016
      @billostrove2016 3 роки тому

      @@datasciencewithyan4124 thanks for the answer! That's helpful.

  • @ktmagar7
    @ktmagar7 3 роки тому

    The audio is little low. Thankyou.