1.

Which of the following command is used to print an object “x” in R?(a) printf(x)(b) print(x)(c) printx(d) print[x]I got this question in an online quiz.My question is from History of R in section History, Overview and Getting Started of R Programming

Answer»

The correct answer is (b) print(X)

The explanation: print(x) COMMAND is used to print. Print(x) is the basic syntax for R. We can directly print the variable without print function also. The functions in R are helpful to the user to SIMPLIFY the PROBLEM.



Discussion

No Comment Found

Related InterviewSolutions