1.

Which of the following statement is another way to get a subset?(a) subsetcon(dataset,logical)(b) data.df[data.df=logical](c) sub(dataset,logical)(d) subcon(dataset,logical)The question was posed to me by my college director while I was bunking the class.I want to ask this question from Commands in division Commands, Packages, Visualizing Data and Linear Regression of R Programming

Answer» CORRECT choice is (B) data.df[data.df=logical]

Explanation: SUBSET(data.df,select=variables,logical) get those objects from a data frame that MEET a criterion.


Discussion

No Comment Found

Related InterviewSolutions