Creating named objects
You can assign (memorize) an object with
<-
Names are case-sensitive:
bob
!=Bob
.
is legal but not if followed by number and starting with it'if
,for
,function
,next
TRUE
are reserved
You should follow a naming conventions (usually follow project guidelines).
For naming temporary object:
vectors: x, y z
matrices: A, B, … , X, Y, Z
integer indexes: i, j, k
object size: n, m, p or nx, ny, etc
Tip:
## [1] 1 2 3