1.

________ function is similar to the existing subset() function in R but is quite a bit faster.(a) rename(b) filter(c) set(d) subsetI got this question in an interview.The query is from dplyr topic in section R – Data Storage, Formats, Objects and Operations of R Programming

Answer»

The correct CHOICE is (b) filter

Easy explanation: The filter() function is used to EXTRACT SUBSETS of ROWS from a data FRAME.



Discussion

No Comment Found

Related InterviewSolutions