标签: r
如何将1:3和7:8加入1 2 3 7 8?
1:3
7:8
1 2 3 7 8
获得这样的诡计的好资源在哪里?
答案 0 :(得分:9)
c(1:3, 7:8) [1] 1 2 3 7 8
帮助页面显示this is a generic function which combines its arguments.
this is a generic function which combines its arguments.
答案 1 :(得分:0)
你也可以这样做:
v<-c(1:3) v<-c(v, 7:8)