1.

Which of the following builds empirical cumulative distribution function?(a) ecdf()(b) cum(c) cumsum(d) lm()I got this question at a job interview.Query is from Visualizing Data topic in section Commands, Packages, Visualizing Data and Linear Regression of R Programming

Answer»

The CORRECT choice is (a) ecdf()

To ELABORATE: cumsum() is used to produce RUNNING TOTAL of values for input vector.



Discussion

No Comment Found

Related InterviewSolutions