On 9/11/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > Jan-Paul Roodbol wrote: > > > Does anyone know if randomForest in R can handle > > dataset with missings? > > See ?randomForest, you can omit observations including NAs by specifying > na.action=na.omit
Uwe, While strictly true, this tells randomForest to ignore any rows with one or more NAs in the predictor variables. Since, randomForest is often used for problems with a lot of (canidate) predictors, na.omit can result in a lot of rows being discarded. Hence, my reply to Jan-Paul's original posting suggesting the impute functions in randomForest. JIm Porzak > Please do not cross-post! > Please specify a sensible subject! > > Uwe Ligges > > > > Thank you > > > > Kind regards > > > > Jan-Paul > > > > ______________________________________________ > > [email protected] mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! > > http://www.R-project.org/posting-guide.html > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
