1.

Which function calculates the count of each category of a categorical variable?(a) Table(b) Intact(c) Tables(d) RetabsThe question was asked in an interview for job.Origin of the question is Functions topic in division Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

The correct option is (a) Table

To explain: The frequency distribution of a CATEGORICAL variable can be checked using the table function in the R LANGUAGE. Table () function calculates the COUNT of each category of a categorical variable.



Discussion

No Comment Found

Related InterviewSolutions