Re: [R] retrieve data from summary output

2013-07-08 Thread Bert Gunter
1. It's a summary **object**, not a file. 2. ?summary.glm 3. Read "An Introduction to R" and ?"[" to learn how to work with lists and extraction functions, which are essential. 4. Also methods(print) stats:::print.summary.glm ## for code of how object is printed Cheers, Bert On Mon, Jul 8,

Re: [R] retrieve data from summary output

2013-07-08 Thread Sarah Goslee
Try names(summary (plasma_glm_1)) You can extract named components individually, just as you would for any other R object. Sarah On Mon, Jul 8, 2013 at 7:57 AM, Hermann Norpois wrote: > Hello, > > how can I retrieve electively data from a summary file, for instance I > would like to get the Pr

[R] retrieve data from summary output

2013-07-08 Thread Hermann Norpois
Hello, how can I retrieve electively data from a summary file, for instance I would like to get the Pr of Coefficients Thanks > summary (plasma_glm_1) Call: glm(formula = ESR ~ fibrinogen, family = binomial(), data = plasma) Deviance Residuals: Min 1Q Median 3Q Max -0.9298