[R] fitted.values in lm function

arunkumar1111 akpbond007 at gmail.com
Wed Nov 16 06:54:02 CET 2011


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.



More information about the R-help mailing list