Section 7 R Assignment Operator
7.1 Assignment Operator
7.2 Equivalent assignment
<- 5
x
x= 5
y y
7.3 Note other symbols
Command line prompt:
>
Comment symbol:
#
Console window continuation symbol:
+
Vector symbol:
[]
Special symbol in a script:
;
7.4 Find the difference
<- 5
x
x
<- 7
x
x
<- 10
y
y
-> x
y
y
x
<-7
m
m
<- -10
z
z< - 5
z
z
< -5
k k