[R] Setting NA

2006-09-30 Thread Anupam Tyagi
Is there a way to set NA values in R, without changing the dataframe? I would like to use different combinations of non-response values, as if they were NA for some of the computations. I don't want to change the dataframe each time I have to do this? Anupam.

Re: [R] Setting NA

2006-09-30 Thread David Barron
Would using the subset argument that is available in many functions (eg lm) achieve what you want? On 30/09/06, Anupam Tyagi [EMAIL PROTECTED] wrote: Is there a way to set NA values in R, without changing the dataframe? I would like to use different combinations of non-response values, as if