Six Data Types Used in R | R Programming for Beginners

Описание к видео Six Data Types Used in R | R Programming for Beginners

This video is about basic data types of R #rstats . There are six basic data types or atomic vector types in R. These are Numeric, Integer, Character, Logical, Complex and Raw.

In R, all the real numbers with or without decimal points are categorised in numeric data. So, both rational and irrational numbers are considered as numeric data. It means when you see whole numbers like 3 or 4, which you consider as integers are not actually considered as integers in R. R will deal with them as numeric, like 3.00 or 4.00. To know the data type of an object in R, we use the class function. So, the data type of both 3 and 3.5 is numeric.

Integers are real numbers without decimal points. However, if you want R to consider a number as an integer, then you have to add an L to the number. Character data represents a character or a string of characters and it is written in quotations. TRUE and False are known as Logical data types in R. These are also called Boolean values.

Complex data includes numbers with real and imaginary parts. The raw data type is used to represent a sequence of bites.

Basics of R Programming playlist
   • Basics of R Programing  

#datascience #datatypesinR #rprogrammingforbeginners #learningR #basicsofrprogramming #animalsciences

Комментарии

Информация по комментариям в разработке