It was
result[[1]]
I have no intercept
Thanks !!!
--
View this message in context:
http://r.789695.n4.nabble.com/function-lm-get-back-the-coefficient-tp3696109p3696230.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-projec
Hi,
I've done a linear fit on my data and I would like to get back the a (time)
coefficient ...
mod<-lm(res_sql2$Lx0x~0+time)
result<-data.frame()
result<-coef(mod)
print("result")
print(result)
[1] "result"
time
0.02530191
But I would like just the value 0.02530191 ... I tried result$ti
2 matches
Mail list logo