[R] Creating 3d partial dependence plots

Duncan Murdoch murdoch.duncan at gmail.com
Mon Mar 4 01:35:21 CET 2013


On 13-03-03 7:08 PM, Jerrod Parker wrote:
> Help,
>
> I've been having a difficult time trying to create 3d partial dependence
> plots using "rgl".  It looks like this question has been asked a couple
> times, but I'm unable to find a clear answer googling.  I've tried creating
> x, y, and z variables by extracting them from the partialPlot output to no
> avail.  I've seen these plots used several times in articles, and I think
> they would help me a great deal looking at interactions.  Could someone
> provide a coding example using randomForest and rgl?  It would be greatly
> appreciated.
>

I think you are making your question too hard to answer.  Show us an 
example of what you tried (a "self-contained, minimal example", of 
course) and we'll suggest ways to fix it.

Duncan Murdoch



More information about the R-help mailing list