Is there a way to get the following code to include
NA values where the coefficients are NA?
((summary(reg))$coefficients)
explanation:
Using a loop, I am running regressions on several
subsets of data1.
reg - ( lm(lm(data1[,1] ~., data1[,2:l])) )
My regression has 10 independent
Hi
On 15 Aug 2006 at 7:01, r user wrote:
Date sent: Tue, 15 Aug 2006 07:01:13 -0700 (PDT)
From: r user [EMAIL PROTECTED]
To: rhelp r-help@stat.math.ethz.ch
Subject:[R] question re: summarry.lm and NA values
Is there a way
], wrote:
From: Petr Pikal [EMAIL PROTECTED]
To: r user [EMAIL PROTECTED], rhelp
r-help@stat.math.ethz.ch
Subject:Re: [R] question re: summarry.lm and NA values
Date sent: Tue, 15 Aug 2006 17:15:01 +0200
Hi
On 15 Aug 2006 at 7
On Tue, 15 Aug 2006, Petr Pikal wrote:
Hi
On 15 Aug 2006 at 7:01, r user wrote:
Date sent:Tue, 15 Aug 2006 07:01:13 -0700 (PDT)
From: r user [EMAIL PROTECTED]
To: rhelp r-help@stat.math.ethz.ch
Subject: [R] question re
:01 AM
To: rhelp
Subject: [R] question re: summarry.lm and NA values
Is there a way to get the following code to include
NA values where the coefficients are NA?
((summary(reg))$coefficients)
BAAAD! Don't so this. Use the extractor on the object: coef(reg)
This suggests that you haven't