Re: [R] matrix plot

2010-09-30 Thread Jim Lemon
On 09/29/2010 08:55 PM, hairryharry wrote: Hi, Fairly new to R - have done basic plots but now faced with plotting a matrix/table of results -I know what I want but cannot find out how to do it. Basically have individual questions ( x) to which an organization can rate themselves 1-10 (y) what

Re: [R] matrix plot

2010-09-29 Thread Gabor Grothendieck
On Wed, Sep 29, 2010 at 6:55 AM, hairryharry wrote: > Hi, > > Fairly new to R - have done basic plots but now faced with plotting a > matrix/table of results -I know what I want but cannot find out how to do > it. > > Basically have individual questions ( x) to which an organization can rate > the

Re: [R] matrix plot

2010-09-29 Thread hairryharry
Thanks, Thats great just what I was trying to do. HH Thomas Stewart wrote: HH- I'm not familiar with the plots you mention, but the following is a quick attempt to create the plot you describe. data<-data.frame( org=1:10, q1=sample(1:10,replace=T), q2=sample(1:10,replace=T), q3=sa

Re: [R] matrix plot

2010-09-29 Thread Thomas Stewart
HH- I'm not familiar with the plots you mention, but the following is a quick attempt to create the plot you describe. data<-data.frame( org=1:10, q1=sample(1:10,replace=T), q2=sample(1:10,replace=T), q3=sample(1:10,replace=T)) # This generates a random data set like the one you describ

Re: [R] matrix plot

2010-09-29 Thread Dennis Murphy
Hi: Are you thinking of a levelplot/heatmap? Some places to look: ?levelplot in the lattice package ?geom_tile in the ggplot2 package ?heatmap2 in the gplots package You can find many more heatmap functions in R; try library(sos)# install first if you don't have it - *very* handy fo

[R] matrix plot

2010-09-29 Thread hairryharry
Hi, Fairly new to R - have done basic plots but now faced with plotting a matrix/table of results -I know what I want but cannot find out how to do it. Basically have individual questions ( x) to which an organization can rate themselves 1-10 (y) what I want to show is a matrix/density type

Re: [R] Matrix Plot and linear regression

2010-08-11 Thread Jorge Ivan Velez
Hi As hz, The following might get you started: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=137 Also, see ?pairs. HTH, Jorge On Wed, Aug 11, 2010 at 1:34 PM, ashz <> wrote: > > Hi, > > Is it possible to do a Matrix Plot and in the cell perform a linear > regression also addi

[R] Matrix Plot and linear regression

2010-08-11 Thread ashz
Hi, Is it possible to do a Matrix Plot and in the cell perform a linear regression also adding to the cell the r2 and the equation. If so, how? Thanks, As hz -- View this message in context: http://r.789695.n4.nabble.com/Matrix-Plot-and-linear-regression-tp2321613p2321613.html Sent from the R