1.创建数据集/矩阵【data.frame数据框、matrix矩阵、array数组】
#数据框:将字段以列合并在一起。...leadership data.frame(manager, date ,country, gender, age, q1,q2,q3,q4,q5, stringsAsFactors=F)
#矩阵...:通过调整参数,控制矩阵样式。...,默认为NA,2行3列,nr是nrow的简写,nc是ncol的简写,R能识别
#数组
mydata r1","r2"),c...(leadership,x)
方法四:merge student1data.frame(ID,name)student2data.frame(ID,score)total_student<-merge