1.

The cumulative frequency distribution of a categorical variable can be checked using the ________ function in R language.(a) Sum(b) Cumsum(c) Lumpsum(d) ResumThe question was asked at a job interview.My question is from Functions topic in chapter Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

Correct answer is (B) Cumsum

For explanation: The CUMULATIVE frequency DISTRIBUTION of a categorical VARIABLE can be checked using the cumsum () FUNCTION in the R language. The frequency distribution of a categorical variable can be checked using the table function in the R language.



Discussion

No Comment Found

Related InterviewSolutions