1.

Numbers in R are generally treated as _______ precision real numbers.(a) single(b) double(c) real(d) imaginaryThe question was posed to me in class test.This interesting question is from Data Types topic in section Nuts and Bolts and Getting Data In and Out of R Programming

Answer»

Right answer is (b) double

For explanation I WOULD say: This means that EVEN if you see a number like “1” or “2” in R, which you might THINK of as integers, they are likely REPRESENTED behind the scenes as numeric objects something like “1.00” or “2.00”.



Discussion

No Comment Found

Related InterviewSolutions