myvec<-c(1,3,1,42) #创建向量
myvec
foo<-32.1
myvec2<-c(3,-3,2,3,45,1e+03,64^0.5,2+(3-1)/9.44,foo)
myvec2...x=c(3,62,8.3),times=3,each=2)
foo<-4
c(3,8.3,rep(x=32,times=foo),seq(from=-2,to=1,length.out=foo+1))...length(x2)
x<-seq(from=6,to=12)
y<-rep(x=5.3,times=3)
z<-c(seq(from=6,to=12),rep(x=5.3,times=3),-3,seq...(from=102,to=100,length.out=9))
length(z)
#2.3.3子集和元素的提取
myvec<-c(5,-2.3,4,4,4,6,8,10,40221,-8)
length...<-x[-c(1,5)]
x4<-c(x1,x3)
sort(x=x,decreasing=FALSE)
x5<-sort(x=x,decreasing=FALSE)
x6<-x5[5:1] #使用冒号作为索引颠倒顺序