圖為 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最高