Skip to content
Prev 277536 / 398506 Next

fitted.values in lm function

Hi

 i have few clarification regarding the output from the fitted(object).

I'm creating a object using the following formula
dataset  <- read.csv("~/data.csv")

obj = lm (formula="log(y+1)~log(x1+1)+(log(x2+1)+log(x3+1)", data=dataset)
fitted(obj)

here the output of the fitted(obj)  considers the log(x1+1) or just log(x1).




--
View this message in context: http://r.789695.n4.nabble.com/fitted-values-in-lm-function-tp4075426p4075426.html
Sent from the R help mailing list archive at Nabble.com.