[R] 2 variable partial dependence plot for Random Forest

Liaw, Andy andy_liaw at merck.com
Thu Feb 16 16:37:46 CET 2006


The basic recipes are all in the code.  Just generate all unique
combinations of the two variables and loop over that.

Andy

From: Joseph Retzer
> 
> Has anyone created a 2 variable partial dependence plot based on a
> randomForest object? Or would anyone have a suggestion as to 
> how to do this?
> Many thanks,
> J. Retzer
>  
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list