立即学习:https://edu.csdn.net/course/play/24913/285679?utm_source=blogtoedu
#使用seq函数生成等差序列的向量
a<-seq(from=1,to=1,by=((to-from)/(length.out -1)),length.out=null,along.with=null,...)
# from为首项,默认为1
#to 为末项,默认为1
#by是步长
#along with 与另一个向量长度相同
#length.out 向量长度