Saturday, 13 June 2015

R: Numeric data type

By default all numbers in R language are of type numeric.

> num1=10
> class(num1)
[1] "numeric"


Even though num1 is not real value, but by default it store as a numeric.


Prevoius                                                 Next                                                 Home

No comments:

Post a Comment