Which of the following is NOT a valid data type in R?

Which of the following is NOT a valid data type in R?

a) character
b) string
c) numeric
d) logical

Answer:

b) string

Explanation:

In R, character is used instead of string for text data. Therefore, string is not a valid data type in R.

Scroll to Top