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 > |
|
来自: 昵称54513926 > 《待分类》