1.

The _________ function is used to generate summary statistics from the data frame within strata defined by a variable.(a) groupby()(b) group()(c) group_by()(d) arrange

Answer» The correct option is (c) group_by()

Easiest explanation: The general operation here is a combination of splitting a data frame into separate pieces defined by a variable or group of variables (group_by()), and then applying a summary function across those subsets (summarize()).


Discussion

No Comment Found

Related InterviewSolutions