Re: [R] multivariate graphs, averaging on some vars

2010-07-17 Thread Uwe Ligges
On 17.07.2010 12:39, skan wrote: Thank you very much, I'll try it. About my question on graphics with colour... Imagine I have a function y=y(x1, x2, x3), I'd need four dimensions to graph x1, x2, x3, and y. My idea is to use the typical 3D plot adding the information of the additional fourt

Re: [R] multivariate graphs, averaging on some vars

2010-07-17 Thread skan
Thank you very much, I'll try it. About my question on graphics with colour... Imagine I have a function y=y(x1, x2, x3), I'd need four dimensions to graph x1, x2, x3, and y. My idea is to use the typical 3D plot adding the information of the additional fourth variable 'y to the colour of the po

Re: [R] multivariate graphs, averaging on some vars

2010-07-17 Thread Dennis Murphy
Hi: On Fri, Jul 16, 2010 at 3:44 PM, skan wrote: > > Hello > > I have a table of this kind: > > functionx1 x2 x3 > 2.232 1 1 1.00 > 2.242 1 1 1.01 > 2.732 1 1 1.02 > 2.770 1 2 1.00 > 1.932

Re: [R] multivariate graphs, averaging on some vars

2010-07-16 Thread Wu Gong
Hi, you can try plot3d library(rgl) plot3d(x=x[,2],y=x[,3],z=rowMeans(x[,2:4])) - A R learner. -- View this message in context: http://r.789695.n4.nabble.com/multivariate-graphs-averaging-on-some-vars-tp2292039p2292076.html Sent from the R help mailing list archive at Nabble.com.

[R] multivariate graphs, averaging on some vars

2010-07-16 Thread skan
Hello I have a table of this kind: functionx1 x2 x3 2.232 1 1 1.00 2.242 1 1 1.01 2.732 1 1 1.02 2.770 1 2 1.00 1.932 1 2 1.01 2.132 1 2 1.02 3.2