Which of the following is a numeric data type in R?

Which of the following is a numeric data type in R?

a) Integer
b) Logical
c) Character
d) Factor

Answer:

a) Integer

Explanation:

In R, Integer is considered a numeric data type, which stores whole numbers.

Scroll to Top