R Guide for Beginners

FAQ About R Guide for Beginners

What are data types in R? R Guide for Beginners
2 years ago | gizem

What are data types in R?

Numeric, integer, complex, character and logical are basic data types in R.

In R, the class() function is used to find out the type of data.

E.g;

x <- 3 + 9

class(x)

We will get "numeric" as the output we write these codes to the program.