Problem to Run the following R Code under library "olsrr"

Viewed 39

model1<-lm(co~tar);model1 summary(model1)

library(olsrr)

#When I tried to run the following code it shows the following error

ols_vif_tol(model1)

#Error in str2lang(x) : attempt to use zero-length variable name

ols_coll_diag(model1)

#Error in str2lang(x) : attempt to use zero-length variable name

0 Answers
Related