Ask for help

# for help! (R language novice)
to carry out summary(lm(change~AQI,data=dat)) operation, the system will report an error, the content is as follows:
Error in quantile.default(resid) : factors are not allowed
Warning messages:
1:
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
, I hope you can help me!!


Read More: