[R] randomForest - NaN in %IncMSE

Liaw, Andy andy_liaw at merck.com
Fri Sep 23 21:15:25 CEST 2011


You are not giving anyone much to go on.  Please read the posting guide and see how to ask your question in a way that's easier for others to answer.  At the _very_ least, show what commands you used, what your data looks like, etc.

Andy 

> -----Original Message-----
> From: r-help-bounces at r-project.org 
> [mailto:r-help-bounces at r-project.org] On Behalf Of Katharine Miller
> Sent: Tuesday, September 20, 2011 1:43 PM
> To: r-help at r-project.org
> Subject: [R] randomForest - NaN in %IncMSE
> 
> Hi
> 
> I am having a problem using varImpPlot in randomForest.  I 
> get the error
> message "Error in plot.window(xlim = xlim, ylim = ylim, log = 
> "") :   need
> finite 'xlim' values"
> 
> When print $importance, several variables have NaN under 
> %IncMSE.   There
> are no NaNs in the original data.  Can someone help me figure 
> out what is
> happening here?
> 
> Thanks!
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
Notice:  This e-mail message, together with any attachme...{{dropped:11}}



More information about the R-help mailing list