r - Illustrate back transformed GLS with visreg() -


i have gls logarithmic transformed dependent variable. using visreg() visualization gives error code:

 library(visreg); library(nlme)  fit1 <- gls(log(ozone) ~ wind , data=na.omit(airquality))  visreg(fit1,"wind",trans=exp,ylab="ozone") 

interestingly same works fine lm:

library(visreg); library(nlme) fit2 <- lm(log(ozone) ~ wind , data=na.omit(airquality)) visreg(fit2,"wind",trans=exp,ylab="ozone") 


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -