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?
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.
Thanks Yan, that was very helpful
Thanks for taking the time to let me know:) I am glad to hear that!
Great Video Yan
Glad you enjoyed
Amazing video!! Thanks!!
Good work!
Thanks!
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?
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.
@@datasciencewithyan4124 thanks for the answer! That's helpful.
The audio is little low. Thankyou.
Thank you for your feedback.