Introduction

Storing values in variable

Store value 5 in x

x=5
x
## [1] 5

Checking Data Type

class(x)
## [1] "numeric"
x=as.integer(x)
class(x)
## [1] "integer"