Displaying 2 results from an estimated 2 matches for "b_ch2".
Did you mean:
  a_ch2
  
2005 Mar 29
5
pairewise plots
Dear R users,
 
I have a data generated as the following,
 
dat <- data.frame(matrix(sample(24), nrow=4))
dimnames(dat) <-list(rownames=c('g1','g2','g3','g4'), colnames=c("A_CH1","A_CH2","B_CH1","B_CH2","C_CH3","C_CH3"))
 
ยป dat
   A_CH1 A_CH2 B_CH1 B_CH2 C_CH3 C_CH3
g1    16    24     7     9    14    20
g2     4    10    19    22     5    17
g3    11    18    21    12    13     1
g4     2     3    15     6    23     8
 
I am trying to plot them pairwise by column(might...
2005 Mar 29
0
Re: follow up on "pairewise plots"
...help. 
The above solution also opens my mind that I could
convert my data to an array. 
dat <- data.frame(matrix(sample(24), nrow=4))
dimnames(dat) <-list(rownames=c('g1','g2','g3','g4'),
colnames=c("A_CH1","A_CH2","B_CH1","B_CH2","C_CH1","C_CH2"))
Sorry for the typo. (C_CH1, C_CH2)
dat2 <- array(unlist(dat), dim=c(4,2,3))  
and then plot them using Dimitris' solution.
Other statements of converting form are welcomed...
Thanks again.