This is my code:
library(car)
qqplot(lm(response~trt, data=chol), simulate=TRUE, main="QQ Plot", labels=FALSE)
but it does not work , and Rstudio tell me that:
Error in rank(x, ties.method = "min", na.last = "keep") :
unimplemented type 'list' in 'greater'
I am so confuse , please help me, thanks my bros.