Re: [R] Extract statistics from lm()

2009-02-28 Thread Albyn Jones
Look at the data structure produced by summary() names(summary(lm.D9)) [1] "call" "terms" "residuals" "coefficients" [5] "aliased" "sigma" "df""r.squared" [9] "adj.r.squared" "fstatistic""cov.unscaled" Now look at the data structure for the

Re: [R] Extract statistics from lm()

2009-02-28 Thread Tobias Verbeke
Hi, Hi, perhaps this question was answered previously however I could not find them. My problem is how how to extract a particular statistic from the result given by lm(). For e.g. ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14) trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,

Re: [R] Extract statistics from lm()

2009-02-28 Thread David Winsemius
http://finzi.psych.upenn.edu/R/Rhelp08/archive/147713.html On Feb 28, 2009, at 2:21 PM, Bogaso wrote: Hi, perhaps this question was answered previously however I could not find them. My problem is how how to extract a particular statistic from the result given by lm(). For e.g. ctl <- c(4

[R] Extract statistics from lm()

2009-02-28 Thread Bogaso
Hi, perhaps this question was answered previously however I could not find them. My problem is how how to extract a particular statistic from the result given by lm(). For e.g. ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14) trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)