练习R:qqnorm+t.test函数配对t检验
library(psych)
describe(mydata[,2:3])
diff <- mydata$glf-mydata$zfsf
qqnorm(diff)
qqline(diff,col="red")
t.test(mydata$glf,mydata$zfsf,paired=T)
赞 (0)
library(psych)
describe(mydata[,2:3])
diff <- mydata$glf-mydata$zfsf
qqnorm(diff)
qqline(diff,col="red")
t.test(mydata$glf,mydata$zfsf,paired=T)