Re: [R] Creating 3d partial dependence plots
It needs to be done by hand, in that partialPlot() does not handle more than one variable at a time. You need to modify its code to do that (and be ready to wait even longer, as it can be slow). Andy -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jerrod Parker Sent: Sunday, March 03, 2013 7:08 PM To: r-help@r-project.org Subject: [R] Creating 3d partial dependence plots 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. Thank you, Jerrod Parker [[alternative HTML version deleted]] __ R-help@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}} __ R-help@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.
[R] Creating 3d partial dependence plots
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. Thank you, Jerrod Parker [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Creating 3d partial dependence plots
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 __ R-help@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.