Re: [R] handling missing values

2012-03-15 Thread R. Michael Weylandt
Michael Weylandt [michael.weyla...@gmail.com] > Skickat: den 15 mars 2012 19:45 > Till: Mintewab Bezabih > Kopia: r-help@R-project.org > Ämne: Re: [R] handling missing values > > Try adding na.action = na.exclude to your call to gam. > > Michael > > On Thu, Mar 15, 2012 a

Re: [R] handling missing values

2012-03-15 Thread Mintewab Bezabih
Från: R. Michael Weylandt [michael.weyla...@gmail.com] Skickat: den 15 mars 2012 19:45 Till: Mintewab Bezabih Kopia: r-help@R-project.org Ämne: Re: [R] handling missing values Try adding na.action = na.exclude to your call to gam. Michael On Thu, Mar 15, 2012 at 1:00 PM

Re: [R] handling missing values

2012-03-15 Thread R. Michael Weylandt
Try adding na.action = na.exclude to your call to gam. Michael On Thu, Mar 15, 2012 at 1:00 PM, Mintewab Bezabih wrote: > Dear R users, > > I have problems handling missing values. THe problem is that after running my > codes the result I get just skips the missing values. What I want is for th

[R] handling missing values

2012-03-15 Thread Mintewab Bezabih
Dear R users, I have problems handling missing values. THe problem is that after running my codes the result I get just skips the missing values. What I want is for the missing values to appear in my results as well. I have put a workable example below and as you could see the missing value in

Re: [R] Handling missing values

2011-09-28 Thread David Winsemius
On Sep 28, 2011, at 11:49 AM, Samir Benzerfa wrote: Hi everyone, I've got a question concerning missing values in R. I'm looking for an R code which removes all NA values in my data.frame. I found many answers about how to remove rows or columns which contain NA's. My problem however

[R] Handling missing values

2011-09-28 Thread Samir Benzerfa
Hi everyone, I've got a question concerning missing values in R. I'm looking for an R code which removes all NA values in my data.frame. I found many answers about how to remove rows or columns which contain NA's. My problem however is a bit different. I have a list of vectors. Each vector