[R] Setting NA
mothsailor at googlemail.com
Sat Sep 30 19:19:42 CEST 2006
Would using the subset argument that is available in many functions
(eg lm) achieve what you want?
On 30/09/06, Anupam Tyagi <AnupTyagi at yahoo.com> 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 they were NA
> for some of the computations. I don't want to change the dataframe each time I
> have to do this?
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Said Business School
University of Oxford
Park End Street
Oxford OX1 1HP
More information about the R-help