What function is used to check the data type of a variable in R?
a) typeof()
b) type()
c) datatype()
d) isType()
Answer:
a) typeof()
Explanation:
The typeof()
function is used to determine the data type of a variable in R.
The typeof()
function is used to determine the data type of a variable in R.