ID<-c(1,2,3,4)
> name<-c("A","B","C","D")
> score<-c(60,70,80,90)
> sex<-c("M","F","M","M")
> student1<-data.frame(ID,name)
> student1
ID name
1 1 A
2 2 B
3 3 C
4 4 D
> student2<-data.frame(score,sex)
> student2
score sex
1 60 M
2 70 F
3 80 M
4 90 M
> total_student2<-cbind(student1,student2)
> total_student2
ID name score sex
1 1 A 60 M
2 2 B 70 F
3 3 C 80 M
4 4 D 90 M
>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。