Skip to content
Prev 167993 / 398502 Next

Returning NA from lm

I tried that I'm afraid.  I still get values for groups with missing data.  I think na.exclude just ignores the NAs but I want it to return NA.  Where one of the values is NA.

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Sent: 23 January 2009 13:04
To: Neil Beddoe
Cc: r-help at r-project.org
Subject: Re: [R] Returning NA from lm

See ?na.exclude
On Fri, 23 Jan 2009, Neil Beddoe wrote: