图为 https://imgur.com/a/lyA1TRJ
想请问高手
A_IQ <- mean (as.matrix (subset(X, bloodtype=="A", IQ))); A_IQ
B_IQ <- mean (as.matrix (subset(X, bloodtype=="B", IQ))); B_IQ
AB_IQ <- mean (as.matrix (subset(X, bloodtype=="AB", IQ))); AB_IQ
O_IQ <- mean (as.matrix (subset(X, bloodtype=="O", IQ))); O_IQ
X为以上图
目前只算出各血型的平均IQ,
但不知道要怎么显示谁才是最高的IQ
EX:A血型的平均IQ最高