R_Code-1.r
Problem Statement
R_Code-1.r
R allows you to assign values to variables in three different ways.
Source Code
r
# R allows you to assign values to variables in three different ways.
# Write three lines of code assigning the string "R is fun" to a variable
# using Simple Assignment, Leftward Assignment, and Rightward Assignment.
simple = "R is fun"
left <- "R is fun"
"R is fun" -> right1
2
3
4
5
6
7
8
2
3
4
5
6
7
8