R有+=(+等于)或++(加上加号)的概念作为c ++/c#/其他人吗?
+=
++
r increment operators variable-assignment
我不知道发生了什么,但我似乎无法在向量中添加常量.例如,在控制台c(1,2,3,4)+5中键入会返回15而不是(6,7,8,9).我究竟做错了什么?谢谢您的帮助.
r constants vector
r ×2
constants ×1
increment ×1
operators ×1
variable-assignment ×1
vector ×1