Fulvio Copex <[EMAIL PROTECTED]> writes: > Hello, > I have a simple question for you: > making: > mylm<-lm(y~x) > summary(mylm) > I get the following results: > ****************************************************** > Coefficients: > Estimate Std. Error t value Pr(>|t|) > (Intercept) 16.54087 0.19952 82.91 <2e-16 *** > x[1:19] -2.32337 0.04251 -54.66 <2e-16 *** > ****************************************************** > now I can access easily with > mylm$coefficients[[1]] > mylm$coefficients[[2]] > at the Estimate 16.54087 and -2.32337.
[coefficients(mylm)[[1]] would be preferable] > how can I access at the Std. Error 0.19952 and 0.04251 ? m <- coefficients(summary(mylm)) m[1,2] m[2,2] -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
