What is the default type of data stored in R when a decimal number is assigned to a variable?
a) Integer
b) Numeric
c) Logical
d) Character
Answer:
b) Numeric
Explanation:
By default, R stores decimal numbers as Numeric values, which represent floating-point numbers.