#求助!(R语言新手)
进行summary(lm(change~AQI,data=dat)) 操作时,系统会报错,内容如下:
Error in quantile.default(resid) : factors are not allowed
此外: Warning messages:
1: In model.response(mf, “numeric”) :
using type = “numeric” with a factor response will be ignored
2: In Ops.factor(y, z$residuals) : ‘-’ not meaningful for factors
3: In Ops.factor(r, 2) : ‘^’ not meaningful for factors
实在不知道怎么办了,望大佬帮助!!
求助
最新推荐文章于 2022-03-15 07:16:33 发布