Edited*
I need to make a loop or a function that can make this code much more faster and easier without dobbelt working.
d1<-cbind(c("Age","Height","Weight"), c("Age","Weight","Score"),
c("Height","Score","Income"))
d2<-cbind(c(24,187,75), c(46,172,10),c(177,7,50000))
c1d1<-t(d1[,1])
c1d2<-t(d2[,1])
colnames(c1d2)<-c1d1
c2d1<-t(d1[,2])
c2d2<-t(d2[,2])
colnames(c2d2)<-c2d1
c3d1<-t(d1[,3])
c3d2<-t(d2[,3])
colnames(c3d2)<-c3d1
dataset<-smartbind(data.frame(c1d2),data.frame(c2d2),data.frame(c3d2))