Re: [R] How to deal with missing values when using Random Forrest

2012-03-01 Thread Kevin Corry
Hi, Thanks for your help, This worked very well: na.action=na.roughfix Kevin On Sun, Feb 26, 2012 at 3:10 PM, Weidong Gu wrote: > Hi, > > You can set na.action=na.roughfix which fills NAs with the mean or > mode of the missing variable. > > Other option is to impute missing values using rfIm

Re: [R] Rearanging Data

2012-02-09 Thread Kevin Corry
Hi, This worked great: sub <- subset(Claims, Year=="Y1") Thanks for your help Kevin On Thu, Feb 9, 2012 at 6:12 AM, David Winsemius wrote: > > On Feb 8, 2012, at 9:48 PM, kevin123 wrote: > > Hi, >> >> This is only a small portion of the Data i am working on >> I want to make a subset of this