Re: [R] graphics: 3D regression plane

2011-04-27 Thread agent dunham
Dear community, Thanks for regr2.plot. I've another question. When fixing OLS I used training data and test data. I'd like to know if it's possible to draw the plane I've fixed with the training data, and draw the observed and predicted points achieved with the test data. If so any help or

Re: [R] graphics: 3D regression plane

2011-04-27 Thread agent dunham
Hi, thanks, I think I've changed the previous as you told me but I'm having this error, what does it mean? model- lm(log(v1)~log(v2)+v3, data=dat) newax- expand.grid( v2 = seq(min(log(dat$v2)), max(log(dat$v2)), length=100), v3= seq(min(dat$v3), max(dat$v3), length=100)) fit -

Re: [R] graphics: 3D regression plane

2011-04-27 Thread Paul Johnson
Hi. Comments below On Wed, Apr 27, 2011 at 2:32 AM, agent dunham crossp...@hotmail.com wrote: Hi, thanks, I think I've changed the previous as you told me but I'm having this error, what does it mean? model- lm(log(v1)~log(v2)+v3, data=dat) newax- expand.grid(    v2 =

Re: [R] graphics: 3D regression plane

2011-04-26 Thread agent dunham
Dear community, As it's explained I've tried the following: model- lm(log(v1)~log(v2)+v3, data=dat) newax- expand.grid( v2 = seq(min(log(dat$v2)), max(log(dat$v2)), length=100), v3= seq(min(dat$v3), max(dat$v3), length=100) ) fit - predict(model,newax) graph -

Re: [R] graphics: 3D regression plane

2011-04-26 Thread Richard M. Heiberger
On Tue, Apr 26, 2011 at 11:18 AM, agent dunham crossp...@hotmail.comwrote: Dear community, As it's explained I've tried the following: model- lm(log(v1)~log(v2)+v3, data=dat) newax- expand.grid( v2 = seq(min(log(dat$v2)), max(log(dat$v2)), length=100), v3= seq(min(dat$v3),

[R] graphics: 3D regression plane

2011-01-12 Thread Federico Bonofiglio
Hello Masters, wishing you all a great 2011 I was also going to ask if anyone knows a quick and efficient way to plot a regression plane (z~x*y). I have tried the regr2.plot{HH} function but it is only an educational tool and has poor graphical properties. I also tried to run the following

Re: [R] graphics: 3D regression plane

2011-01-12 Thread David Winsemius
On Jan 12, 2011, at 6:10 AM, Federico Bonofiglio wrote: Hello Masters, wishing you all a great 2011 I was also going to ask if anyone knows a quick and efficient way to plot a regression plane (z~x*y). There are many. There are limitations to using the ?? operator in that it only brings