I would like to check if my model (standardized) residuals are normally distributed.
model <- lm(ratiopermonth ~ Greenspace, data = mydata)
qqline(rstandard(model))
But I got an error message:
plot.new has not been called yet
What is wrong?
I would like to check if my model (standardized) residuals are normally distributed.
model <- lm(ratiopermonth ~ Greenspace, data = mydata)
qqline(rstandard(model))
But I got an error message:
plot.new has not been called yet
What is wrong?