R Programming
R Programming
Specificity
All the R libraries focus on making one thing certain - to make data analysis easier, more
approachable and detailed.
Machine Learning
R provides ample tools to developers to train and evaluate an algorithm and predict future
events.
Availability
R programming language is open source
R VS PHYTON
Boolean
TRUE or FASLE
Can be categorized as Qualitative Variable
(Non-Numeric Data)
String
Non-numeric (character)
Missing values
Na or NaN
TYPE OF DATA/OBJECT
R - OPERATORS
Arithmetic Relations Logical Assignment
<- < ! +
-> > & -
= <= && *
>= | /
== || ^
!= %%
%/%
ASSIGNMENT OPERATORS
d <- 10
a = 15
10 -> s
ARITHMETIC’S OPERATORS
X = 5
Y = 16
X = 5
Y = 16
Operators Notes Answer
X < Y X less than Y (TRUE / FALSE)
X > Y X greater than Y (TRUE / FALSE)
X <= 5 (TRUE / FALSE)
Y >= 20 (TRUE / FALSE)
Y == 16 (TRUE / FALSE)
X != 5 (TRUE / FALSE)
LOGICAL OPERATORS
k = c(TRUE,FALSE,0,6)
m = c(FALSE,TRUE,FALSE,TRUE)